RandyRiegel
Programmer
I am running an experimental webserver for fun out of my home. I have a domain name and DNS setting pointing to my home IP address. Also, setup a subdomain with my DNS provider which points to same IP address. My main site ( is stored at /var/
What do I have to do to the httpd.conf file to get this to work? I've tried the following:
After adding the above code I can type and it displays what should be I want to show the main site and to show what is in that directory. Am I on the right track?
Randy
What do I have to do to the httpd.conf file to get this to work? I've tried the following:
Code:
<VirtualHost *>
DocumentRoot /var/[URL unfurl="true"]www/html/sub1[/URL]
ServerName sub1.mydomain.com
</VirtualHost>
After adding the above code I can type and it displays what should be I want to show the main site and to show what is in that directory. Am I on the right track?
Randy