-
September 16th, 2005, 12:21 AM
#1
apache and subdomain
Hi all!
I and my friends bought a domain called lazyheads.com. The domain is forwarded to our home computer using our home IP address. We would like to use a subdomain called skeleti so the address would be skeleti.lazyheads.com.
I go to our registrar web page and add subdomain skeleti. I also redirect this subdomain to the same IP address as the main domain lazyhead.com.
I also set virtual host at httpd.conf. I use:
NameVirtualHost 213.220.215.240:80
<VirtualHost 213.220.215.240:80>
DocumentRoot /var/www/htdocs/
ServerName lazyheads.com
</VirtualHost>
<VirtualHost 213.220.215.240:80>
DocumentRoot /var/www/htdocs/skeleti/
ServerName skeleti.lazyheads.com
ErrorLog /var/www/htdocs/skeleti/logs/error_log
CustomLog /var/www/htdocs/skeleti/logs/access_log combined
</VirtualHost>
Problem is, that even if I try to open lazyheads.com or skeleti.lazyheads.com I still get the same page. It looks like the my config changes does nothing to the server behavior. Anyone knows what am I doing wrong?
Thank you very much for your answers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|