winchester169 Posted March 4, 2009 Share Posted March 4, 2009 Hi, I am trying to configure apache and need to know what settings to use. My linux box resides on an outside ip 67.xxx.xxx.xxx with an internal ip of 192.xxx.xxx.1 I want to be able to redirect three domains to this server and have them pull the pages from the following. *.domain1.com from /var/www/html/domain1/index.php *.domain2.com from /var/www/html/domain2/index.php a.domain3.com from a webserver running on 192.xxx.xxx.80 (internal) b.domain3.com from a webserver running on 192.xxx.xxx.90 (internal) *.domain3.com from /var/www/html/domain3/index.php can anyone show me the virtual portion of the httpd.conf file to acheive this? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 4, 2009 Share Posted March 4, 2009 You'll want to setup virtual hosts for this. You can add virtualhost definitions at the bottom of the httpd.conf VirtualHost documentation Quote Link to comment 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.