Jump to content

how to fix strange URL configuration?


jerseyjoe

Recommended Posts

In addition to creating a few CCs, I also have a few hosting servers. I have noticed a weird thing for CC stores whose hosting accounts are setup before the DNS transfer to my server is set at the Registrar.

Let's say my server is "NS1.myserver.com", the domain is "domain" which the server will render as "~domain."

So when I set up the account, the URL while I install CC and build out the store (but before the DNS transfer is

http://myserver.com/~domain

Usually, for sites that are NOT a CC, after the DNS is changed at the registrar, the URL displayed is

http://domain.com

in other words, the server address drops out automatically.

But for CCs that are built before a DNS trransfer, I enter the URL as:

http://domain.com

and when the active store's home page is displayed, the URL becomes http://myserver.com/~domain

(those who understand this issue will know that the tilde (~) is a common display for a shared server until the DNS is transferred).

And it remains that way though the session. That address also prints out on Faxed Orders and show up in order confirming emails.

As you can imagine, the client is unhappy with that and the client's customers are confused as to who they are dealing with.,

I know how to prevent this (only build a CC after the DNS transfer) but how can I fix it for a site already built? I have two of them that need fixing.

Link to comment
Share on other sites

Is that information not stored in the global.inc.php config file?
That makes sense but are you saying that the fix is as simple as editing that file? Of course, I could test it, but I'd prefer to know, before I try, if I am doing the right thing.
Link to comment
Share on other sites

Is that information not stored in the global.inc.php config file?
That makes sense but are you saying that the fix is as simple as editing that file? Of course, I could test it, but I'd prefer to know, before I try, if I am doing the right thing.

I really don't know until we can see what's in the file <_<
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...