Virtual Host creation...
| From: | Mohit Mittal | Date: | Fri, 09 May 2003 01:16:26 +0000 |
| Subject: | Virtual Host creation... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146827@lists.php.net to get a copy of this message | ||
Hi,
I have an Apache Web Server running on a Linux machine. I want to create
two alias web sites for this server. I made the following entries in my
httpd.conf file
NameVirtualHost 192.168.88.90
<VirtualHost 192.168.88.90>
DocumentRoot "/var/www/html/alice-1.0/secure"
ServerName staff.abnamroaptlending.com
</VirtualHost>
<VirtualHost 192.168.88.90>
DocumentRoot "/var/www/html/alice-1.0/secure"
ServerName appraiser.abnamroaptlending.com
</VirtualHost>
I also made the required entries in the /etc/hosts file on the linux server.
But for some reason, when I type the url in the browser, the IP address of
the server is not getting resolved.
If somebosy can tell me, where I am going wrong, it will be a big help.
Mohit Mittal
Software Engineer
Patni Computer Systems (P) Ltd.
Noida,
Office Tel:
91 120 2516880 - 83
Ext: 1261
Residence Tel:
91 11 26890175