Install on shared hosting pre-domain name propagation
Permalink
I'm having issues getting C5 configured on a shared hosting account. I'm migrating a site to C5, but can't switch the DNS to point to the new site C5 until it's ready.
In the meantime, the host sets up the site ashttp://server5.hosting.com/~myclient... (URL altered to protect the innocent) until I switch the DNS to point to the new site.
Here's the config.php that C5 installed:
This setup works fine for any auto-generated links within the site (like AutoNav), but if I hand-code a link, I have to include the "/~myclient/" in the link or it won't work. If I don't include that folder in my links, I'll get something like "http://server5.hosting.com/products/" for a URL like "http://server5.hosting.com/~myclient/products/"
The problem is, when I switch the DNS on the site, I'll have to go back through and re-enter any of the manual links to remove the "/~myclient/" preface.
I thought the following config might work:
...Since that's my hosting account's root folder, but it does not work.
I REALLY don't want to re-enter those URLs once the site is ready to switch.
Any ideas?
In the meantime, the host sets up the site ashttp://server5.hosting.com/~myclient... (URL altered to protect the innocent) until I switch the DNS to point to the new site.
Here's the config.php that C5 installed:
This setup works fine for any auto-generated links within the site (like AutoNav), but if I hand-code a link, I have to include the "/~myclient/" in the link or it won't work. If I don't include that folder in my links, I'll get something like "http://server5.hosting.com/products/" for a URL like "http://server5.hosting.com/~myclient/products/"
The problem is, when I switch the DNS on the site, I'll have to go back through and re-enter any of the manual links to remove the "/~myclient/" preface.
I thought the following config might work:
...Since that's my hosting account's root folder, but it does not work.
I REALLY don't want to re-enter those URLs once the site is ready to switch.
Any ideas?
For other systems hosts file you can check here:http://en.wikipedia.org/wiki/Hosts_%28file%29...