Domain redirect to wrong site.

When adding domains to a Virtualmin server we found that the 46th domain works fine but 47 does not. It restores fine but when we go to access the site it redirects to the first site on the server. DNS seems fine and we cannot find any other issues.. Also when we get to a certain number of sites on a Virtualmin server the drop down box that lets you access different domains is gone. I can type in the domain but not drop down to gain access to it.

Status: 
Closed (fixed)

Comments

If you go to Limits and Validation -> Validate Virtual Servers and run a full validation of all domains, does it report any errors?

Also, you can increase the number of domains shown in the drop-down at System Settings -> Module Config -> User interface settings -> Maximum number of domains to display.

There are these two errors. intraspectrum.com Mail for domain : Home directory /home/intraspectrum for user intraspectrum_webguy is owned by intraspectrum Not sure what this is

cassiemarchbank.com BIND DNS domain : The DNS record www.cassiemarchbank.com. resolves to the IP address 64.146.161.162 instead of the virtual server's IP 64.146.161.173 Now I checked by dig and see that both of my DNS servers have this right. Not sure why this error is being reported.

Howdy -- is it cassiemarchbank.com that you're having trouble with?

If so, which is the IP it should be, 64.146.161.162 or 64.146.161.173?

64.146.161.173

Yes it is www.cassiemarchbank.com thats the problem DNSStuff.com shows this and it looks correct to me. Domain Type Class TTL Answer www.cassiemarchbank.com. A IN 38400 64.146.161.173 cassiemarchbank.com. NS IN 38400 ns2.methownet.com. cassiemarchbank.com. NS IN 38400 ns1.methownet.com. ns1.methownet.com. A IN 38400 64.146.161.164 ns2.methownet.com. A IN 38400 64.146.161.162

Thanks

Well, as I perform a lookups here on your two DNS servers, the IP comes back correctly.

Running that domain through intodns.com, everything there looks good.

Also, when I go to cassiemarchbank.com, I see a website labeled "Cassie Marchbank" with information about an artist -- that sounds correct.

Is it possible that an old IP is cached somewhere?

If you log into your server over SSH, and type:

host cassiemarchbank.com

What do you see?

And if you restart BIND, does that help at all?

All three servers both DNS and the virtual host all come back with this cassiemarchbank.com has address 64.146.161.173 cassiemarchbank.com mail is handled by 3 bara.cassiemarchbank.com. cassiemarchbank.com mail is handled by 5 mail.cassiemarchbank.com.

and bouncing dns did not help. We were able to add another domain and we are going onto the next. So this might be solved. Still curious that this error comes up.

If you login to Virtualmin, select the domain on the left menu, and go to Services -> DNS Domain -> Address, does it show the wrong address for any of the records? If so, fix them ..

I did what you said and cleaned up the miss config and the error is resolved. THANKS

This other error intraspectrum.com Mail for domain : Home directory /home/intraspectrum for user intraspectrum_webguy is owned by intraspectrum

I look at the account and see this

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 16 Jun 2009 20:13:26 GMT Content-type: text/html Connection: close Error - Perl execution failed

substr outside of string at /usr/share/webmin/virtual-server/edit_user.cgi line 173.

Home directory quota Unlimited (None used)

What can I do to clean this up? Thanks

What do these two commands show:

  1. grep intraspectrum /etc/passwd

  2. ls -ld /home/intraspectrum

This seems to be a very old account and we are going to delete it. Thank you for your help.

Automatically closed -- issue fixed for 2 weeks with no activity.