Add to Favorites     Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?


Closed Thread


Old
  Post #1 (permalink)   08-12-2008, 06:15 PM
HD Management Staff
 
Artashes's Avatar
 
Join Date: Apr 2003
Posts: 7,522

Status: Artashes is offline
For one of the companies I had to get a new VPS server. However, I am having difficulties configuring it. Here is what I did for you to know where I made a mistake.

Given: VPS, 2 IP addresses (ex: A.B.C.D. and E.F.G.H.)

As example, imagine I want to setup VPS to host HostingDiscussion.com.

After loggin in WHM with root username/password, in "Basic cPanel/WHM Setup" I fill out:

Main Shared Virtual Host IP: A.B.C.D.
Hostname: hostingdiscussion.com
Primary Nameserver: ns1.hostingdiscussion.com
Secondary Nameserver: ns2.hostingdiscussion.com

Then, in "Account Function", I create a new account for "hostingdiscussion.com" domain name with its own username and password (so I can get access to Cpanel).

I then go to domain registrar and set domain name nameservers to ns1.hostingdiscussion.com and ns2.hostingdiscussion.com


After doing so, I keep receiving an incredible amount of emails titled "named on server.hostingdiscussion.com failed‏" and content:
Quote:
"named failed @ Tue Aug 12 16:12:37 2008. A restart was attempted automagically."
Then one of the emails received says:

Quote:
IMPORTANT: Do not ignore this email.The hostname (server.hostingdiscussion.com) resolves to . It should resolve to A.B.C.D. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain. Some are all of these problems can be caused by/etc/resolv.conf being setup incorrectly. Please check this file if youbelieve everything else is correct. You may be able toautomaticly correct this problem by using the ' Add an A entry for yourhostname ' under ' Dns Functions ' in your Web Host Manager
I cannot access the site using Domain Name, but I can use account IP address to access the site and its CPanel.

Any is appreciated.
__________________
HostingDiscussion.com - web hosting community for grown-ups.

FORUM RULES | NEWS BLOG | HOSTING SHOWCASE | Follow us on Twitter
 
 


Old
  Post #2 (permalink)   08-12-2008, 06:17 PM
HD Management Staff
 
Artashes's Avatar
 
Join Date: Apr 2003
Posts: 7,522

Status: Artashes is offline
I am not sure if this is applicable, but in docs of Cpanel I found the following:

Quote:
11 Enter the current hostname of your server in the Hostname field.

NOTE: Your hostname should be a Fully Qualified Domain Name that will not be used elsewhere on the server. You should never set your hostname to an name that is already used (www, ftp, mail, etc) or to the name of an account on the server (www.domain.com). This means that your hostname should never be a domain name and especially not the name of your domain!!

http://www.cpanel.net/docs/whm/WebHo...r_Hostname.htm
Does this mean that nameserver has to be different than "hostingdiscussion.com"?
__________________
HostingDiscussion.com - web hosting community for grown-ups.

FORUM RULES | NEWS BLOG | HOSTING SHOWCASE | Follow us on Twitter
 
 


Old
  Post #3 (permalink)   08-12-2008, 07:12 PM
HD Amateur
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 84

Status: Hostlayer is offline
Hey,

The first thing to do would be to check your /var/log/messages to see why named is failing.

Regarding the hostname, you will need to set up an Alias so that it forwards to an IP.
 
 


Old
  Post #4 (permalink)   08-12-2008, 07:24 PM
HD Management Staff
 
Artashes's Avatar
 
Join Date: Apr 2003
Posts: 7,522

Status: Artashes is offline
Thanks for the comments. While I don't know how to do this myself, I forwarded your recommendation to support department.
__________________
HostingDiscussion.com - web hosting community for grown-ups.

FORUM RULES | NEWS BLOG | HOSTING SHOWCASE | Follow us on Twitter
 
 


Old
  Post #5 (permalink)   10-08-2008, 03:14 AM
Account Disabled
 
Join Date: Oct 2008
Posts: 1

Status: da002168 is offline
thanks for the info
 
 


Old
  Post #6 (permalink)   10-08-2008, 07:10 AM
HD Addict
 
Join Date: Dec 2003
Location: Hanoi, Vietnam
Posts: 103

Status: gate2vn is offline
in WHM, go to DNS section, edit hostingdiscussion.com zone -> add an A record, name as "server" and value is A.B.C.D. Save and try to restart BIND
__________________

VietNAP Managed Hosting

Cluster hosting | Xen VPS | Managed servers | Colocation
Seattle, US-west coast and Vietnam, Asia data centers
 
 


Old
  Post #7 (permalink)   10-08-2008, 03:45 PM
HD Management Staff
 
Artashes's Avatar
 
Join Date: Apr 2003
Posts: 7,522

Status: Artashes is offline
Thanks for your response, guys. I solved the issue a while back already.
__________________
HostingDiscussion.com - web hosting community for grown-ups.

FORUM RULES | NEWS BLOG | HOSTING SHOWCASE | Follow us on Twitter
 
 
Closed Thread

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: