RE: [expert] virtual domains same ip address
Assuming you have control of your DNS, add hosts of the type www.dept1 www.dept2 and so on with the same ip as www. Then you can setup virtual hosts on the linux machine. -Original Message- From: Edwin Casimero @PLUG [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2000 2:08 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [expert] virtual domains same ip address Questions: How can I have multiple domain names using 1 IP Address? We have some around 5 companies. I have a linux server. I have 1 assigned IP address. #1) I want the 5 companies with registered domains to share the 1 IP address. (we don't receive that much traffic.) How? #2) I'm thinking of 3rd level domains. Say dept1.mycompany.com, dept2.mycompany.com. That way I don't need to pay the internic fee. Can I also do the same in my Linux Machine? Need expert help. I don't think this is a newbie question. Thanks in advance.
Re: [expert] virtual domains same ip address
Depends on what you are asking. Are you wwanting MAIL and WEB services? Web, yes it's quite easy to use 1 ip address Use apache and the vhosts module For mail: well, I use qmail.You can get away with only using 1 ip address IF you are willing to live with your users appending their domain name to their pop login. See ww.qmail.org for more information.. On Thu, 18 May 2000 02:08:19 +0800 "Edwin Casimero @PLUG" wrote: Questions: How can I have multiple domain names using 1 IP Address? We have some around 5 companies. I have a linux server. I have 1 assigned IP address. #1) I want the 5 companies with registered domains to share the 1 IP address. (we don't receive that much traffic.) How? #2) I'm thinking of 3rd level domains. Say dept1.mycompany.com, dept2.mycompany.com. That way I don't need to pay the internic fee. Can I also do the same in my Linux Machine? Need expert help. I don't think this is a newbie question. Thanks in advance. * Aaron Hackney* * CCNA, MCSE, A+ * * (309) 634-2235 * - This message sent using EMUmail -- http://www.emumail.com - Looking for the best deals available on the Net? Try the Valet: http://valet.flycast.com/valet/info/fc0494/?53107
Re: [expert] virtual domains same ip address
Add this to your httpd.conf NameVirtualHost ipaddres(ie 10.10.10.10) VirtualHost 10.10.10.10:80 DocumentRoot /path/to/html/ ServerName www.myfirstvhost.com /VirtualHost VirtualHost 10.10.10.10:80 DocumentRoot /path/to/html/ ServerName www.mysecondvhost.com /VirtualHost Let me know if you have any problems. Cecil - Original Message - From: Edwin Casimero @PLUG [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 17, 2000 7:08 PM Subject: [expert] virtual domains same ip address Questions: How can I have multiple domain names using 1 IP Address? We have some around 5 companies. I have a linux server. I have 1 assigned IP address. #1) I want the 5 companies with registered domains to share the 1 IP address. (we don't receive that much traffic.) How? #2) I'm thinking of 3rd level domains. Say dept1.mycompany.com, dept2.mycompany.com. That way I don't need to pay the internic fee. Can I also do the same in my Linux Machine? Need expert help. I don't think this is a newbie question. Thanks in advance.