HTTP_SERVER with web forwarding
I have my zen cart set up in www.mydomain.co.uk/zendirectory and (for various reasons) have the site url www.shopurl.com using forwarding to get to it.
In all the config, HTTP_SERVER is set to www.mydomain.co.uk (because I had to install it that way)
What would happen if I NOW changed www.mydomain.co.uk to www.shopurl.com in the configure.php file? Would it all fall in a heap?
thanks
Re: HTTP_SERVER with web forwarding
Are your Zen Cart files present at shopurl.com?? Just redirecting will not load the store as the files have to be present and a mysql DB must also be present
Re: HTTP_SERVER with web forwarding
no, all the files are physically located at mydomain.co.uk. The shopURL.com URL is hosted elsewhere (with no server available) and is therefore using a redirect to point to the physical path at mydomain.co.uk/zendirectory.
The problem is that all emails refer to HTTP_SERVER, which is messy as it doesn't contain the 'real' domain. I could go through and edit them all, but that's a pain, so I wondered if just changing the HTTP_SERVER would actually matter now that it is all installed.
Re: HTTP_SERVER with web forwarding
Changing the HTTP_SERVER will point Zen Cart to look at that address for the files and as you state that they do not exist there it will fail.
If this is rooted in an email issue, you can look at altering the MX record for this to attempt to correct this.
Best solution is to locate the domain name at the correct server with the cart files and all, as you will also encounter SSL issue in trying to mask domain names
Re: HTTP_SERVER with web forwarding
<sigh> I thought it was probably a no-go, but was worth asking :-)
I'll look at the MX record - but I reclon I'm just going to have to edit the emails.
Thanks for your help
Re: HTTP_SERVER with web forwarding
Quote:
I'll look at the MX record - but I reclon I'm just going to have to edit the emails.
As I suppose that this is for a Zen Cart install and that some or many of your potential customers might come from the AOL mail bank...I would tread softly into what you have described as AOL: mail will bounce/not be delivered if their requirements are not met.
This will preclude your using strange email forwards/masking and the like. The mailserver and the domain initializing the message must be from known (to the inet) sources or it is classed as spam and discarded.
Your purchase notifications and other mail will not arrive at any AOL address when sent from Zen Cart through any kludged mail server configuration.
Just so you are aware