domain pointing on wrong account...

tdldp

Verified User
Joined
May 9, 2005
Messages
150
Hi i have an oddity here...

At time X one of our client asked us to reserve cnagueret.fr asap in order to protect his domain name, without taking a hosting plan...

In order to reserve a .fr, certains parameters are needed like for example having a server response for the domain on our server.
We manage to deal that by creating a zone under named (shell)
that accepted the domain but pointed on nothing.

We finally put up a hosting plan for that client, starting by deleting all previous data, under DA, this with success...

DNS problems with registry were corrected, and we once more pointed the dns on our servers...

Up to there no problem...

But when dns were finally out, the domain was pointing on the wrong account : It points on existing nycotix.net account instead of the cnagueret.fr account ...

How do i solve this thing ???? Why did this happen ???

Thks for your help

Tdldp
 
One possible reason could be the IP# listed in the zone file is for a different user with a non-shared IP#.

The easiest way to resolve it is probably to use the reseller aco**** to backup the user, then delete and recreate the entire account and restore the user (with default server IP rather than the stored IP), and then change the IP# to what it should be.

Note this is not tested; be sure to have a good backup.

Jeff
 
Jeff, thanks once more for your responses...

I've tested your solution, with no succes, restored data correctly, but domain still points on nycotix.net account...

I do not explain this problem...

For information the ip in the zone file is the right one... All our clients are always put on same ip...
Thus, cnagueret.fr, and nycotix.net are on the same shared IP...
I've created new plans since with no problem, pointing domains on the right hosting account...

My question would therefore be :
Where are the files stored that determine pointing of the domain on an account or another ???
I've seen the zone files in /var/named/*.tld.db
This one seems correct :
$TTL 14400
@ IN SOA ns1.cardiff.fr. root.cnagueret.fr. (
2006041701
7200
3600
1209600
86400 )

cnagueret.fr. 14400 IN NS ns1.cardiff.fr.
cnagueret.fr. 14400 IN NS ns2.cardiff.fr.

cnagueret.fr. 14400 IN A 195.13.58.167
ftp 14400 IN A 195.13.58.167
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 195.13.58.167
pop 14400 IN A 195.13.58.167
site 14400 IN A 195.13.58.167
www 14400 IN A 195.13.58.167
www.site 14400 IN A 195.13.58.167

cnagueret.fr. 14400 IN MX 10 mail



cnagueret.fr. 14400 IN TXT "v=spf1 a mx ip4:195.13.58.167 ?all"

Is anyother information stored elsewhere ??
 
Hello,

You've mentioned that you manually added the domain to the dns entry. That will make it resolve.

But if you actually want to use it as domain pointer, you'd need to tell DA that you want to use it as a domain pointer so that things like the httpd.conf files are setup with it in mind.

Use Level -> Domain Pointers -> add Domain Pointer.

Note that DA will say "domain already exists" if the domain is already added to the dns settings, so remove it from:
Admin Level -> DNS Adminitration.. one removed, then add the domain pointer.

If that doesn't fix it (remember to try and manually restart everytning to double check that they're being restarted) then the issue would be narrowed down to the httpd.conf files.

Take a look at /usr/local/directadmin/data/users/username/httpd.conf for the users in question. The domain pointer should have a "ServerAlias" line with that domain name included.
Also, check the main /etc/httpd/conf/httpd.conf to make sure that the user httpd.conf file is Included into the main httpd.conf file. (There should be many "Include" lines at the bottom of the main /etc/httpd/conf/httpd.conf file)

Past *that*.. then you'd start looking at the document root themslves.. making sure there are no funny symbolic links... and that the index.html isn't just showing the wrong domain in it ;)

John
 
DirectAdmin Support said:

Take a look at /usr/local/directadmin/data/users/username/httpd.conf for the users in question. The domain pointer should have a "ServerAlias" line with that domain name included.
Also, check the main /etc/httpd/conf/httpd.conf to make sure that the user httpd.conf file is Included into the main httpd.conf file. (There should be many "Include" lines at the bottom of the main /etc/httpd/conf/httpd.conf file)

Thks John, this was indeed the case... cnagueret.fr was indeed included as serveralias for domain nycotix.net...

Don't figure out how it is the case, having not myself done this action (i suppose someone at our desk did this...)

Anyhow... pointings on the right plan is now ok...

Thks to both of you (jeff and john) for your help..

tdldp
 
Back
Top