Page 1 of 1

Bizarre web server domain behavior

Posted: Wed Jul 24, 2019 12:55 am
by mericson
I'm experiencing bizarre behavior with a domain I just added to VestaCP.

When I attempt to access the web page on mydomain.tld it loads the website for a different domain at the same IP address. I don't have that problem with any other domains on that same IP. Yet, when I access www.mydomain.tld I get the 'default' VestaCP coming soon web page.

There are other domains on the same IP that work just fine!

I've compared the apache and nginx configs for the domain that works and the one that doesn't and I don't see any differences that would affect this behavior. I also ran v-rebuild-web-domains for the user with this problem.

Any suggestions for debugging this?

Re: Bizarre web server domain behavior

Posted: Wed Jul 24, 2019 7:30 pm
by mericson
I hit a wall with this problem, and couldn't proceed with my site. So I tried something new.

I deleted the user and then created the user and domain again.

Everything works!

Can't explain how the strange behavior was even possible!