I have yet to figure out or understand exactly how to make a top level subdomain work to display something other than my regular website.
For example:
I want subdomain.domain.com to display an entirely new site from a different folder, but right now this is the path to ALL of my regular site (forum) content:
D:/Web/Server/Apache2/htdocs
I am using my own domain I signed up and paid for up for at
www.netfirms.com and forwarded my info to
www.freedns.afraid.org to get my domain to work on my webserver from home (at least I think I had to do it that way...still not sure)
At Netfirms, I can change the A records, CNAME's etc. there but I am not sure if I need to configure anything at Netfirms as well as at freedns.org, or just at freedns.org...(or if I can do it all from Netfirms)
I don't know exactly what I am doing wrong, but I can't seem to get it to work right.
I made a domain test subdomain name with A record at freedns (CNAME wouln't work)
gay.sda-n-friends.com
I added this to Apache:
<VirtualHost *:80>
# ServerAdmin
webmaster@dummy-host.example.com
DocumentRoot /gay
ServerName gay.sda-n-friends.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
I made a folder for a new site.
Tried playing around with .htaccess configurations since that is new to me too and that didn't help.
Scoured the net looking for an answer, couldn't quite find one that worked for me....nothing worked.
Can someone please help me figure this out?
Thanks alot!
Recent comments
2 days 4 hours ago
2 days 13 hours ago
2 days 16 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 20 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 15 hours ago
3 days 15 hours ago