Can't seem to find main domain

AztecOne

Verified User
Joined
Apr 14, 2004
Messages
17
Hello,

I just got a new dedicated server and had my hosting company install the DA on it.

There seems to be a couple of things that I can't seem to work out.

The server name is cp.azteconeshops.net the nameservers are ns1.azteconeshops.net and ns2.azteconeshops.net

The IP is http://69.46.22.152

You can go to the IP and see the default apache page.

However, I have no access to this account at all through the control panel. I cannot set up mail or users or anything. So, I tried to set azteconeshops.net and the control panel says it already exists. But it is not accessible.

So I ssh in and ask the server to locate azteconeshops.net and it returns

[root@cp home]# locate azteconeshops.net
/var/lib/mysql/cp.azteconeshops.net.err
/var/lib/mysql/cp.azteconeshops.net.pid
/var/log/httpd/domains/azteconeshops.net.error.log
/var/log/httpd/domains/azteconeshops.net.bytes
/var/log/httpd/domains/azteconeshops.net.log
/var/named/azteconeshops.net.db
/etc/virtual/cp.azteconeshops.net
[root@cp home]#

What am I missing?

Any help appreciated.

Thanks,
Christy
 
It's because of that zonefile in /var/named.

Make a note of what's in it, and remove it.

Then when you've created the domain, make sure the records that were in the old zonefile are in the new one if you need them.

Jeff
 
Thanks for your response.

I just want to make sure I am clear on this. I get a little insecure removing files.

Remove /var/named/azteconeshops.net.db
(actually copy it and then remove it)

Restart named

Then add domain ?

Thanks
 
Yes.

DA uses the domains in /var/named to determine if a domain is already on the server.

Jeff
 
I tried that, it still says the domain exists.

So I put it back for now.

What if I just make a folder for it and set it up in httpd.conf?

Thanks,
Christy
 
If I recall correctlly that should have done it.

Did you leave your copy in the same directory? There shouldn't be any reference to that domain in the directory.

Otherwise I'd say this is a good question for John or Mark.

Jeff
 
actually, yes, I renamed the copy azteconeshops.net.db20040414

But I thought it would not accept it with any differences.

Anyway, I tried renaming it an unrelated name and same results.

thanks,
 
As I mentioned, it's probably time to get the DA people involved.

We do per incident support on DA servers, but we do charge for it, and we'd have to charge you to log into your server and find the problem.

So you'll be better off if we can get Mark or John to respond.

Jeff
 
which leads to...

I paid a reselling hosting company to install it and I think there are a few issues.

They say they are not responsible for any of them. But, some of them it seems like maybe they should have been.

Anyway, I am not opposed to paying for help. I just want it to work.

But, this is a domain I do not really need to use except to set up a postmaster account. I just registered it to get an unused machine name for a new network. I am not using it at all, except that every machine should have a postmaster.

Do you know...

Can I set up a postmaster account that is not a part of the main domain? I guess I can try it.

Thanks,
Christy
 
I'm not sure of your question. You can set up a postmaster account for every valid domain name on the server.

RFCs require you have a postmaster address for every domain name that will ever send email.

Information on our DA server management services (effectively giving you a managed server) can be found at:

http://www.nobaloney.net/daservermgmt.html

If you're interested in our pricing for "per incident" work contact me by email for more information.

If you bought DA you're entitled to 90 days support from DA; if you rent it you're entitled to support forever.

Jeff
 
Last edited:
I guess I am renting it, for now.

I also guess I can set up a postmaster for each account as I set them up.

Except the one that is also the server name.

Odd.

However, it is late here (florida) and I have a meeting with the Captain and we all know that rum and root do not mix :-)

So I will pursue this more tomorrow.

I very much appreciate your help.

I just hate being a newbie at anything.

Good Night and thanks again,

Christy
 
Hello,

Just an update, DA uses /etc/named.conf to determine if a domain exists on the server. So you should be able to remove the zone for the domain in question from that file, then you'll be able to add it through DA. :)

John
 
Thanks, but that did not do it either.

I copied the /etc/named.conf and then modified it and also copied azteconeshops.net.db then deleted it. Restarted named.

Try to add the domain and it still says it exists.

So I replaced the altered files and restarted named again.

I am sure I will figure it out. Maybe I can set up a virtual domain as the postmaster. That is all I really need for that domain name.

Thanks,
Christy
 
John, can you and Christy get together so you can log in and see what's going on? Christy's got me quite curious.

Thanks.

Jeff
 
Actually John has emailed me.

I have tried everything suggested except
making sure that admin's httpd.conf is being included in the /etc/httpd/conf/httpd.conf file.

Which I will do shortly.

Thanks for all the help. I hope one day I can be help here to otheres.

I will keep you posted.

Christy
 
Okay, I think we might be onto something, but I am not 100% sure.

The conf file shows
#The default site for the server.
<VirtualHost 69.46.22.152:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
</VirtualHost>

<VirtualHost 69.46.22.152:443>
ServerName localhost
ServerAdmin [email protected]
DocumentRoot /var/www/html
ScriptAlias /cgi-bin/ /var/www/cgi-bin/

SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
</VirtualHost>

Listen 8090
<VirtualHost _default_:8090>
DocumentRoot /usr/local/frontpage/version5.0/admin-exes
DirectoryIndex fpadmcgi.exe
<Directory /usr/local/frontpage/version5.0/admin-exes/>
AddHandler cgi-script .exe
Options ExecCGI
</Directory>
</VirtualHost>
Include /usr/local/directadmin/data/users/admin/httpd.conf
Include /usr/local/directadmin/data/users/pctech/httpd.conf
etc etc

It seems to me that it should also be set up a virtual host in order to have other services - right?
 
I am posting this in 2 place, but I want to thank everyone and say that I will be back.

It turned out the network running the server was totally screwed up.

The IP worked, I started moving names to the network and they were all propagating quicker than the network was updating their own records.

It took days for them to recognize new sites on their own network.

I am moving the set up to a different network that I have worked with before.

Thanks everyone for the assistance, I will be back. I love direct admin and so did the customers that got a chance to look at it.

Christy
 
Back
Top