: VirtualHost add sub domain? I rarely touch apache configs but I must be doing something wrong here. trying to set it up so these domains point to different webroots: example.com -> var/www/html
I rarely touch apache configs but I must be doing something wrong here.
trying to set it up so these domains point to different webroots:
example.com -> var/www/html
ggurt.example.com -> var/www/html/ggurt
With the current config (screenshot below), ggurt.example.com and example.com BOTH go to var/www/html/ggurt. I want the sub domain and second level domain to have different webroots. What am I doing wrong?
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
There's lot's more on Apache configuration over at StackOverflow. Like you I've done very little in the config files, so apologies if this is not much use.
Not entirely sure this answers your question, but worth a punt: httpd Virtualhost Subdomains
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.