1

I've recently purchased a domain from Godaddy.com and I also obtained hosting from 000webhost.com.

When I try to access my site by entering the purchased URL from Godaddy, the pages hosted on 000webhost.com do not show up. I get a default page from Godaddy instead.

When I ping my site, the IP I get is different from the IP of site as shown in 000webhost.com. What's the problem?

0
2

The situation you are facing is that the DNS record for your domain has not been set yet. Therefore it is still pointing to the Godaddy placeholder.

If you obtain a domain, you get access to its DNS settings. All registrars I know provide the domain with a DNS A record of a placeholder page. This A record points to the IP address of the server that is to handle the response.

Your 000webhost page is on a different IP than the IP known in the DNS settings, thus the domain name resolves to a different server (different IP address).

In order to have the domain name resolve to the new server you can do two things:

  • Change the A (and AAAA for ipv6) record so it points to the correct server. This would be your ip on 000webhost.com.
  • Change the nameservers. The nameservers are the servers that resolve the domain name. Basically your domain is probably know at two different nameservers (assuming you entered your domain somewhere in the 000webhost.com admin panel). So godaddy has a nameserver where your domain points to their servers, but 000webhost.com also has a version that points to their servers.

If you change nameservers from godaddy's to 000webhost's. Your domain name will be resolved by 000webhost and the A record will point to the correct IP address.

Option 1 will likely work as well, but will only route web traffic and you'd need to set other DNS settings for email etc. By changing the nameserver it is likely 000webhost will set those records for you as well and therefor it is easier. Since 000webhost clearly states in their FAQ you should be changing the nameserver to theirs, I'd go for option 2.

5
  • It's been a week. Still not working. And what dns change are you talking about? I ve not changed anything in my domain configuration on Godaddy.com. – Vibhav Feb 21 '16 at 14:06
  • Then that might be the issue. Your DNS still resolves to Godaddy's. See DNS section for 000webhost.com FAQ: 000webhost.com/faq.php – Neograph734 Feb 21 '16 at 14:26
  • This link's not working. Shall I have to edit the DNS record in Godaddy configuration manager?? Or in 000webhost.com?? – Vibhav Feb 21 '16 at 14:39
  • Then find the FAQ yourself. You should change your nameserver configuration for godaddy to values in your 000webhost.com profile. – Neograph734 Feb 21 '16 at 14:42
  • If there is a place for entering IP address in the 000webhost interface, they have DNS servers set up for you to use. You need to use the "Change the nameservers" option from this answer. Log into Godaddy and set the name servers for the domain to the values that 000webhost gives you. – Stephen Ostermiller Feb 22 '16 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.