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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.