Point domains to dedicated server
I have a dedicated server that I'd like to host a number of websites on. I've copied a few of my sites over to it and have a problem pointing my domain names to the site.
Say, for example my server IP address is 123.234.345.456. I can set my sites up so I can access them similar to http://123.234.345.456/SiteOne/, http://123.234.345.456/SiteTwo/, http://123.234.345.456/SiteThree/ etc
I have domain names to go with these e.g. SiteOne.com, SiteTwo.com etc. I can use web forwarding to point SiteOne.com to http://123.234.345.456/SiteOne and it works ok except all the links say http://123.234.345.456/SiteOne/page.html when I would rather it said www.SiteOne.com/page.html
How might I fix this ?
You must create virtual hosts for each of your web sites (see http://httpd.apache.org/docs/2.0/vhosts/name-based.html ), and then you must create A records for your domains, not forwards.
|All times are GMT +2. The time now is 16:17.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.