How to point external domain to VPS server - dns

I have a Bluehost VPS account and I need to point my external domain which is purchased from porkbun to my VPS server. After some research, I have changed the A record in the domain registrar to my VPS server IP and changed name servers to Bluehost servers(which are ns1.bluehost.com and ns2.bluehost.com). Currently, when accessing the domain I'm seeing the default Bluehost page, but it does not seem to be connected with the server as it does not display any file I'm updating in the root folder. Is there any step I'm missing? I have tried changing nameservers of the VPS server itself by editing DNS settings in the domain, but any of them does not seem to be working. Any help on this would be highly appreciated.

If you are trying to 'browse' to your VPS server then you would need to add an 'A' record type into the DNS for the domain name.
For example, if you are browsing to 'test.mydomain.com' and your VPS IP Address is '192.186.1.15' then you should add an A Record into the domain zone file with the following detals:
Host Record - test
Points To - 192.168.1.15
These details are taken from the following page:
https://www.bluehost.com/help/article/dns-management-add-edit-or-delete-dns-entries#add

Related

Domain not attached to the Cpanel

I registered domain on the WHM and create a new user cpanel with the domain, the domain is added to the cpanel. But when i try to browse the domain name it getting server DNS address could not be found.i updated the name servers with my server name, but nothing changed.
when i try to go through myip/~newuser it going fine to the site file, but with the domain name it's not.
You have a DNS issue in this case. Please check your DNS zone with a tool like intoDns:
https://intodns.com/yourdomain.tld
See if you get any errors there. If you do, then you have issues with your DNS configuration. Be sure that you have create the parent DNS servers for your domain if you want to use the DNS from WHM (the parent DNS servers should point to your WHM server ip).
Try using external services to query your DNS server to see if it actually works (like MXToolBox etc). Or you can use nslookup or dig right from your WHM server by connecting via ssh.

I need a help to set up Digital Ocean nameservers

I have a VPS server on Digital Ocean and I need to set up this server to host multiple domains with cPanel. I've been trying for 2 days and I can not understand the logic.
My domain is sbcw.com.br
I would like that at the end of this process my domain have function as the nameservers shown in the example below:
DOMAIN : mycustomer.com
NAMESERVERS : ns1.sbcw.com.br
ns2.sbcw.com.br
I need help to successfully configure the records to use my domain as a nameserver for other domains and I have little experience in this segment.
The attachment corresponds to some attempts to find the settings.
Assign the IPs and configure the name servers in WHM as
ns1.sbcw.com.br
ns2.sbcw.com.br
Make sure you have A records added for the name servers on the server with their IPs.
Contact your domain registrar where the domain sbcw.com.br is hosted and register those name servers in order to make them active. Those name servers should ping.
Make sure you have DNS zone created in WHM for the domain sbcw.com.br with the name servers assigned.

Using a VPS as a DNS Server to Point it to itself

I recently purchased a VPS and I got a free domain (.tk). Now, I wanted to create a domain name server on my VPS, for the .tk domain; this DNS Server should point it to itself.
I followed this URL but in vain. It does not work. How do I setup my VPS so that whenever I enter myname.tk in a browser it resolved to my VPS' IP address and renders the pages?

why my name server can not point to the right ip address?

I'm totally new about hosting website and I register a domain in network solution and hosted by hostgator. I tried to register my name server by going to Domain name server option in network solution and enter my name sever's name.However,by going to leafdns.com, I found out that the name servers don't pointing to the right ip addresses as provided by hostgator welcome email. Besides, network solution does not prompt you for a ip input for those name servers, and the domain still point to a construction page.
What would be the problem?
It's not enaught to set up Name Servers for domain, you need add records in it. If you setup hostgator hosting NameServers for your domain, just park your domain on hosting panel and NS records add apear automatically.

Point 1and1 domain to my vps

I would like to point my 1and1 domain to a vps which I am going to buy(https://portal.obtrix.net/cart.php?a=confproduct&i=3). But, the vps registration page requires hostname, ns1, ns2. how? to point my 1and1 domain to this vps. I need the hostname, ns1, ns2 at registration.
My understanding is that when you purchase a VPS, you must name your own prefix for your hostname and nameservers. In other words, you will not find these prefixes anywhere else. Instead, you must create your own. You can follow the conventions like:
server1.[yourdomainname].com or s1.[yourdomainname].com for your hostname
ns1.[yourdomainname].com and ns2.[yourdomainname].com for your name servers
Once you have created your VPS, you should go back to the company you registered your domain with, go to your control panel where you can manage your domain, and then point your domain to your new VPS by entering in the hostname and name servers you designated for your new VPS.

Resources