Flying Sagittarius Posted June 14, 2008 Share Posted June 14, 2008 I already have one server connected to a DNS name with Apache. Is it possible to add another DNS name to connect to the same server? Link to comment https://forums.phpfreaks.com/topic/110239-running-more-than-one-website-on-one-server/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 14, 2008 Share Posted June 14, 2008 Yes. That is called name based virtual hosts - http://httpd.apache.org/docs/2.2/vhosts/name-based.html In DNS, both domains point to the single IP address of the server. The host header that the browser supplies tells the server with virtual host should receive the request. Link to comment https://forums.phpfreaks.com/topic/110239-running-more-than-one-website-on-one-server/#findComment-565655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.