Sub-domains newly created misdirected to current domains

3 posts / 0 new
Last post
#1 Thu, 11/12/2015 - 12:26
cygnus

Sub-domains newly created misdirected to current domains

Hi guys, I have a problem which occured recently.

Everytime I try to create a sub-domain, I don't know why when I try to access my subdomain, it's automatically directed to my first website created (alphabetically ordered).

For example, if I have to domains as www.website.com and www.site.com when I create a.website.com, and try to access it, it displays the content of www.site.com.

I tried to check apache config, dns config, but all seems correct.

All my subdomains created before 2 weeks ago are correctly displayed.

Could you help ?

Many thanks.

Thu, 11/12/2015 - 13:06
andreychek

Howdy,

You may want to see if these troubleshooting steps here help with that:

https://www.virtualmin.com/documentation/web/troubleshooting#The_Wrong_S...

Thu, 11/12/2015 - 17:35
cygnus

Thanks a lot for your answer.

I found the problem.

For both domains which were involved, I had instead of my IP.

I'm gonna check my config to change it

Topic locked