[EMAIL PROTECTED] Help apache 101
Hi, I am new to the web server please help me with this 2 questions. 1/ Setup the basic web server myhost.mydomain.com 2/ Setup the virtual host www.mydomain.com My linux system hostname is: myhost.mydomain.com IP: 1.2.3.4 DNS: www.mydomain.com CNAME myhost.mydomain.com Please explain this: If I use default DocumentRoot /var/www/html for question #1, and use VirtualHost with DocumentRoot /var/www/virtual for #2, I no longer see the index.html file from DocumentRoot of #1 Question #1 does not asked to use the Virtual host. Can I just use the default DocumentRoot to config the web server OR have to use the Virtual host ? Thanks Tam - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Help Default index.html
Hi, Please help explain this 2 questions. 1/ Server hostname: myhost IP: 192.168.0.2 DocumentRoot is /var/www/html and index.html is default page. The index.html displayed correctly when connect to http://myhost But when connect http://192.168.0.2 the server NOT showing the same index.html page ... It looks similar as noindex.html Why is not using the same index.html file ? 2/ Do I need to specifiy the "ServerName" in the Main parameter ? It's commented in htttpd.conf #ServerName www.example.com:80 What's default value if I keep unchanged and any problems in feature ? Thanks Minh - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]