View Single Post


Old
  Post #2 (permalink)   01-03-2008, 05:04 PM
brianf
HD Addict
 
Join Date: Nov 2007
Posts: 190

Status: brianf is offline
Quote:
How do I test each domain on the server without changing the name server entries on the domain? I have one firewall ip address 72.169.55.184 but 3 different domains. How can I test mydomain1.com, mydomain2.com, mydomain3.com?
Using Apache the first virtual server is usually the default. If your first server in the httpd.conf is mydomain1.com then requesting the IP alone may display that domain. Your control panel may have a default page that is displayed but you could comment it out in the httpd.conf temporarily as you run through each site. Alternatively, you could edit the httpd.conf and add an alias to the virtual server of ww1.mydomain1.com. You would need to add a ww1 entry to the zone and it should display the contents of mydomain.com when ww1 is requested.