Hi,
I'm running FC2 from a home machine and can't seem to get my namebased virutal host to work.
I believe I may be configuring my cnames wrong, but I am not sure. Also, how can I preview my namebased sites before dns has been configured ?
I hope this information can help solve my mistake
My IP's:
Code:
inside: 192.168.0.4
outside: 65.33.252.72
fedora box: 24.95.227.35
My domain registars cname tool:
Code:
[BOX1] .product-research.us IN CNAME [BOX2]
1. In first text box enter in the cname of your domain names prefix.
2. In box two enter the cname host that you are pointing to.
My answers:
[BOX1] www [BOX2] wwwDOTproduct-researchDOTus
The Results:
wwwDOTproduct-researchDOTus points to: wwwDOTproduct-researchDOTus
My httpd.conf syntax:
Code:
NameVirtualHost 24.95.227.35:80
<VirutalHost 24.95.227.35:80>
ServerName wwwDOTproduct-researchDOTus
ServerAlias product-research.us *.product-research.us
DocumentRoot /var/www/product-research.us/html
ScriptAlias /var/www/product-research.us/cgi-bin
TransferLog /var/www/product-research.us/access_log
ErrorLog /var/www/product-research.us/error_log
</VirtualHost>
Any help would be very much appreciated and I can provide more information if needed.
Thanks