domain name linked to wrong directory

4 posts / 0 new
Last post
#1 Fri, 01/31/2014 - 05:59
lolbrol

domain name linked to wrong directory

My domain is linked to /var/www/ instead of /home/mydomain/public_html . The domain is also my nameserver damain. How Can fix this that mydomain.com is linked to the directory of the virtual server?

Fri, 01/31/2014 - 06:43
Locutus

How exactly did you create that domain? I've never seen Virtualmin put a home directory into /var/www. Did the Apache virtual host already exist before you created the Virtualmin domain?

Fri, 01/31/2014 - 08:23
lolbrol

I don't know anymore. I created it 2 years ago and used the domain only for e-mail and as DNS for my other domains. That works fine.

Fri, 01/31/2014 - 08:46
Locutus

Alright, when you turn the Apache feature off and on, it should re-create the virtual host, in the correct place. What's the domain exactly?

Topic locked