Search code examples
dnsvpsnameservers

Setup domain name on VPS with full root access


My first question ever. and newbie to webhosting. I am trying navicosoft.com vps for the first time for webhosting. VPS just had centOS 7 on it. I installed ruby rails apache passenger etc and deployed my app. App deployed successfully. Here is the IP address http://88.198.121.97/ (site is still in production mode though). I also purchased domain dogtags.pk from http://pknic.net with its nameservers ns1.navicosoft.com | ns2.navicosoft.com. It has been over 72 hours since i registered for the domain.

I want to know what am I doing wrong? why is my site accessible via IP address and not by domain name? If i can get some link to a tutorial or documentation of some kind.

Customer support is very crappy. They are saying we dont provide any technical help for VPS. Help please. Thanks.


Solution

  • EDIT:

    The best way might be to use a free DNS service (https://www.google.com/search?q=free+dns+service).

    The setup would be as follows:

    1. Use a free DNS service to point your domain name to the correct IP address.
    2. Modify your domain name's nameservers to those of the free DNS service provider you've chosen.

    For example, here's a link to how you can set this up with Namecheap's FreeDNS service: https://www.namecheap.com/support/knowledgebase/article.aspx/536/51/how-do-i-set-my-domain-to-use-namecheaps-freedns-service