created domain 1 , deleted domain 1, created domain 2 and ma

0utlier

Well-Known Member
Aug 7, 2002
46
0
156
My subject description is horrible... I apologize. This is what happened.

Customer signed up with domain1.com.

Later that day decided he didn't want domain1.com but rather domain2.com.

I edited domain1.com to become domain2.com in WHM under account functions/modify account. (may have been my mistake/maybe should have just deleted domain1.com rather than edit domain1 to become domain2.com)

Customer sets up the sub domain, domain1.domain2.com but still has domain1 pointed to my name servers (if that matters).

When you go to www.domain1.com (the previously edited domain) the apache page shows up. (Goes straight to doc/root)

When you go to www.domain2.com/domain1 it also redirects to domain1.com and shows the apache page.

I remove the subdomain through his control panel and delete the directory from his account.

I check WHM for for any entries in his zone file for domain1.com. There was one and I removed it.

I check httpd.conf for any signs of domain1.com. There was one entry and and I deleted it and restarted apache.

I checked named.conf for any entry related to domain1.com and there was one. I removed the entry from named.conf and this time restarted the server.

Still.. when you go to www.domain1.com it shows the apache page. When you go to www.domain2/domain1 it redirects to domain1.com (the apache page).

I hope my explaination is not too confusing...

How is this possible? I obviously missed something. Is it cache related? Did I miss editing a configuration file? Any help would be appreciated. Thank you for your time and consideration.

Scott Goodwin
 

0utlier

Well-Known Member
Aug 7, 2002
46
0
156
dnsreport gives a few &failed's& that are otherwise normal for other domains on the server... That domain may just still be in cache. I'll let it go for a while and see what happens. Thank you for your time.

Scott Goodwin