Help - Search - Members - Calendar
Full Version: DNS Problem
The Planet Forums > Control Panels > cPanel/WHM
MrLeN
Hello,

I hope that someone can help me.

I am having some DNS problems on my server. When I go to WHM and add a subdomain (for an existing, propagated and functional domain) ..it [the subdomain] doesn't work.

I've been told that I need to add an A entry "if I am using eV1's nameserver".

So, this leads me to two questions:

1 - If I set my nameserver to ns1 and ns2.mydomain.com, will I no longer need to add an A entry for subdomains?

2 - What is an A entry and how do I make one?

I have another server with another provider (which I've had for over a year without a problem), but when I got that server they set it up under ns1 and ns2.oneofmydomains.com. I have never had to add an A entry. I can just go to WHM, add a subdomain and it works immediately.

Also, I do not have to go to a login area (at that providers site) and add a domain name to their system.

So, How can I avoid these things and get my account working in the same way that my other server works?

I've been told by support that If I want to use my own nameservers, then I will have to get my registrar to set it up. I didn't have to do that with my other server/provider either. I was also told that I will no longer be able to get support. I actually do want to get my own nameservers, but if I can't get my site working with ev1, I'm afraid I'll be in the cold without any support at all and I'll never get anything working icon_sad.gif

All this has really confused me. Me, my plans and my sites have been in limbo for nearly a week.

Support is giving me short answers, but I do not understand the answers. I know these servers aren't managed, but if I could just get the server operational, no one will hear from me again.

I've been using my other server for over a year and have never ever contacted support. Not once. Everything just "worked".

Any help to shed some light on this situation, from anyone will be apprecaited.

MrLeN
theuruguayan
1 - If I set my nameserver to ns1 and ns2.mydomain.com, will I no longer need to add an A entry for subdomains?

Yes, you will need it, but WHM add it automatacly when you create the domain. In case of ev1 dns servers you need to do it by hand.

2 - What is an A entry and how do I make one?
A A entry is a record in your DNS file that says something like

SOMESUBDOMAIN A MYIP

that says that if you point your browser (example) to SOMESUBDOMAIN.mydomain.com it will go to that ip. Then apache (for example, actualy in cpanel if a mix with htaccess i think.) will resolve the problem and point it to the folder you want.


How can I avoid these things and get my account working in the same way that my other server works?

You need to create your own dns servers, first you need to go to your registrand and create the dns servers, something like ns.MYDOMAIN.com is THISIP. and same for ns2. Then you need to go to the setup part of your WHM and change the settings.

You didnt have to, because they probably did all this for you. Well. you just need to start reading the how-to in the cpane forum here and that will start to help you understand how all this. And well. you have this forum that is a great support for everyone client and not.

If you need help, you can ask here, or you still need help just send me a pm, and i can help you setting all this up..


carlos
MrLeN
Thanks heaps icon_smile.gif

..I know I sound like a nong to anyone that know's what they're talking about, but I can't help it. I didn't know all that, so telling me to add an A entry doesn't mean anything to me.

I wouldn't even know what tutorial to start reading.

Anyways, this is what I am going to do..

I have a reseller account for domains (I sell them) ..so I can easily change the DNS for the domain to:

ns1.mydomain.com
ns2.mydomain.com

..then I go to cPanel, to the "EDIT SETUP" area and change those two boxes which have

ns1.envservers.net
[Assign Ip Address] [Add an A entry for this nameserver]

ns2.envservers.net
[Assign Ip Address] [Add an A entry for this nameserver]

and change them to:

ns1.mydomain.com
ns2.mydomain.com

..is that right?

..do I have to click thise two buttons and add anything?

Thanks heaps for your help.

MrLeN

Edit I just tried to add my nameservers, to remove ev1's nameservers, but it says I have no more IP's.

Do I have to get more? I wont need the two I am using. I thought ev1 were going to set up my domain as the nameserver in the first place.

..then it will all have to propagate again?

All I want is my server to work. By the way things are going, my first month of service will have been unusable icon_sad.gif

I'm getting ticked off mad.gif

This situation makes me look like I am asking for more than I paid for, etc.. but how hard could it possibly be for whoever set the server up, to just ask me if I wanted to use ev1? ..and to have it set up for my domain when it was handed to me? ..as my other two providers did.

I specified during signup (which took 24 hours and three emails to get running ..after getting a welcome email for a server that wasn't set up yet (which confused me to tears)) ..that the server was to be used with my domain. I'm getting no (real) help from support, I've already opened 10 trouble tickets for stuff that doesn't work, that's supposed to work icon_sad.gif

I had to ask for fantastico twice after the first person said it was set up (and it wasn't). I didn't ask for my nameserver to be ev1's (why would I want that?(I specified my domain during signup)). Awestats don't work (apparently I have to downgrade perl). Fantastico was finally installed onto a reseller account (not the main account), so it's useless there. Subdomains wont work. I've got heaps of subdomains. I've got friends sites in limbo, a hosting service that I can't install software to, because I can't set up accounts (more waste of money). I've got half my sites moved over (so they've propagated), which means they'll have to propagate again. I should just point them back to my other server and forget this.

..it's been a week, I'm getting nowhere, it looks like its going to take me several days more (after more propagation), I'll probably have to buy more IP's ..I would just go elsewhere, but I've already paid for the server. argh!

*headbuts a wall*
theuruguayan
The steps you need to do are the following:

1 - Register Name Servers where you registered your domain at.
I suggest using 1 IP per name server.
NS1.yourdomain.com = IP#1
NS2.yourdomain.com = IP#2

If you are using all your ips please ticket ev1 at member section to get more.

1. Login to WHM as root

2. Click "Edit Setup" from the left hand menu.

3. Type: ns1.yourdomain.com in the Primary Nameserver field.

4. Press Assign IP Address

5. Then Press Add an A Entry for this nameserver

6. Type ns2.yourdomain.com in the Secondary Nameserver field.

7. Click Assign IP Address

8. Then Click Add an A Entry for this nameserver

9. Click Manage Nameserver IPs from the left menu in WHM.

10. If you see ev1 DNS server remove them.

11. Click Initial NameServer Setup from the left menu in WHM
Run this for the "initial name server setup"

12. Login to SSH to restart bind. (Be sure it restarts, so don't do this in WHM)

13. Type: service named stop

14. Type: service named start

15. While in SSH do the following to verify installation has gone well.

Type: pico /etc/resolv.conf
It should look like this:

domain yourdomain.com
search yourdomain.com
#nameserver 127.0.0.1
nameserver ip address #1 here
nameserver ip address #2 here

Hope this help.

carlos
MrLeN
Ok, I've got all that .. but how do I restart bind in SSH?

I know how to log in to SSH, but once I am logged in, do I just go right ahead and type:

13. Type: service named stop

14. Type: service named start

..?

Thanks for your reply.

MrLeN

Edit Also, I am currently at the order new IP's page. How many do I need? I seem to have one spare currently? Here are the options:

Anonymous FTP
SSL
DNS/Name Server
Other

I just need two DNS/Name Server ones, right?
theuruguayan
yes, just that, you are stopping an running named and exactly, sounds like the reason. Well.. you need 2.


carlos
ramprage
Hey MrLeN,

Your nameserver IPs should be on different class C networks.

EG:
ns1.yourdomain.com 127.0.0.1
ns2.yourdomain.com 127.0.1.1

You need two IPs for nameservers if you have your own.

To restart bind you can also issue: # /etc/init.d/named restart



QUOTE
Originally posted by MrLeN
Ok, I've got all that .. but how do I restart bind in SSH?

I know how to log in to SSH, but once I am logged in, do I just go right ahead and type:

13. Type: service named stop

14. Type: service named start

..?

Thanks for your reply.

MrLeN

[b]Edit
Also, I am currently at the order new IP's page. How many do I need? I seem to have one spare currently? Here are the options:

Anonymous FTP
SSL
DNS/Name Server
Other  

I just need two DNS/Name Server ones, right? [/B]
MrLeN
Thanks heaps guys..

I just got my extra IP's, and I am about to make the changes. I'll leave this open and type what I am doing, as I do it. That way, if I make a mistake, someone might pull me up on it before I have to wait 24/48 hours to find out the changes aren't propagating. "coz if that happens, I'll go and headbut a tow-ball :confused:

My new IP's are:

216.127.66.152
216.127.66.153

I am in WHM, "Edit Setup".

Changed the primary nameserver to:

ns1.newehost.com

Clicked "Assign Ip Address"

Getting a popup saying:

"Sorry, you are out of ips to assign as nameservers"

..um

..#^^%@%$!#!@#$mother#@!@@##$$%!@#%^ sh*t f&ck'n @#$%$@# cr&p

MrLeN
ramprage
Did you add your new IPs to WHM?
MrLeN
..just got home from work.

I'll try and get back into it all now.

No, I didn't add any IP's.

I'll go see if I can work out how.

MrLeN
MrLeN
QUOTE
IP=216.127.66.153 Bind reloading on ns1 using rndc zone: [newehost.com] Error reloading bind on ns1: rndc: connect failed: connection refused Add Complete  


I give up.

Changing my domain's back to my other server.

Cancelling account.

..but thanks for your help. I appreciate you trying to help me. However, this is never going to be fixed.

MrLeN
ramprage
MrLeN,

It sounds like the problem can be easily fixed but your not sure what you're doing. Contact me and I can have a look.
MrLeN
Never mind, I cancelled my service yesterday. All my domains are pointing back to my other server. Thanks for trying to help though. Much appreciated.

MrLeN
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.