Your hostname could not be resolved to an IP addr

notamaster

Registered
Jan 13, 2013
3
0
1
cPanel Access Level
Root Administrator
hello
i purchased dedicated server with 5 ips
*9.**.99.74 (main ip)
*9.**.99.75
*9.**.99.76
*9.**.99.77
*9.**.99.78

than i purchsed domain with godaddy

my main ip is *9.**.99.74

after that i set nameservers (on godaddy)
ns1.uploadmore.com (ip *9.**.99.76
ns2.uploadmore.com (ip *9.**.99.78

but after some time i got email like below

Your hostname (secureum.uploadmore.com) could not be resolved to an
IP address. This means that /etc/hosts is not set up correctly,
and/or there is no dns entry for secureum.uploadmore.com. Please be
sure that the contents of /etc/hosts are configured correctly, and
also that there is a correct 'A' entry for the domain in the zone
file.

Some or all of these problems can be caused by /etc/resolv.conf
being setup incorrectly. Please check that file if you believe
everything else is correct.

You may be able to automatically correct this problem by using the
'Add an A entry for your hostname' option under 'Dns Functions' in
your Web Host Manager.
after that i go to my site and it says "Executing in an invalid environment for the supplied user"
and redirect me on /http://uploadmore.com/cgi-sys/defaultwebpage.cgi

HELP ME MASTER
 

hgrg

Well-Known Member
Oct 4, 2010
90
0
56
cPanel Access Level
Root Administrator
Re: [newbie HELP] Your hostname (***.com) could not be resolved to an IP ad

[off]
there was no point redacting the ips coz youve left the ns1 ns2 address there..
[/off]
 

quietFinn

Well-Known Member
Feb 4, 2006
1,066
31
178
Finland
cPanel Access Level
Root Administrator
Re: [newbie HELP] Your hostname (***.com) could not be resolved to an IP ad

Seems that the hostname is resolving by now.
You can check it with this command in the SSH command prompt (as root):

Code:
/scripts/ipcheck --verbose
 

notamaster

Registered
Jan 13, 2013
3
0
1
cPanel Access Level
Root Administrator
Re: [newbie HELP] Your hostname (***.com) could not be resolved to an IP ad

Seems that the hostname is resolving by now.
You can check it with this command in the SSH command prompt (as root):

Code:
/scripts/ipcheck --verbose
Seems that the hostname is resolving by now.
You can check it with this command in the SSH command prompt (as root):

Code:
/scripts/ipcheck --verbose

checked error

SSH Access Information
Main IP Address: 9*.***.99.74
Server Name: secureum.uploadmore.com
Root Password:*******

/http://www.secureum.uploadmore.com/cgi-sys/defaultwebpage.cgi
If you feel you have reached this page in error, please contact the web site owner:
 

notamaster

Registered
Jan 13, 2013
3
0
1
cPanel Access Level
Root Administrator
Re: [newbie HELP] Your hostname (***.com) could not be resolved to an IP ad

help me guyz i already purchsed script only server is problem

if somebody want to help mail me
[email protected]

i will give you access details to fix the problem
 
Last edited:

speckados

Well-Known Member
First correct errors.

Code:
   Server Name: NS1.UPLOADMORE.COM
   IP Address: 99.198.99.74
   Registrar: GODADDY.COM, LLC
   Whois Server: whois.godaddy.com
   Referral URL: http://registrar.godaddy.com
   Server Name: NS2.UPLOADMORE.COM
   IP Address: 99.198.99.75
   Registrar: GODADDY.COM, LLC
   Whois Server: whois.godaddy.com
   Referral URL: http://registrar.godaddy.com
After check DNS of UPLOADMORE.COM

Check = ns1 A = 99.198.99.74
ns2 A = 99.198.99.75
UPLOADMORE.COM. NS NS1.UPLOADMORE.COM
UPLOADMORE.COM. NS NS2.UPLOADMORE.COM
WHM -> DNS FUnctions --> Add a A entry for your host (or verify DNS)


Restart named.

Verify...