What are nameservers like “ns1.domain.com” and “ns2.domain.com”?
I have a domein called Removed, I want to host sites in it with my VPS, I know i need to install a webpanel like VestaCP, How can i connect my domain to my vps example:
Now is it: IP:PORTOFPANEL I want: DOMAIN.COM:PORTOFPANEL
Do i need to add A and CNAME records to my vps ip in the DNS control panel on my Domain?
And how can i remove IP/DOMAIN:PORTOFPANEL and make it panel.DOMAIN.COM?
Greetings Juul.
A Dutch student ;)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi!
A domain’s nameservers are what provide the mapping from the domain name to an actual IP address, so that browsers and other clients know what server they should connect to. Since your domain’s nameservers are ns1-3.digitalocean.com
, you will need to add any DNS records using DigitalOcean’s control panel.
According to a member of the VestaCP Team, it is not possible to host the control panel on port 80 or 443 (HTTPS). However, you can still add an A record called panel
and point it to your Droplet. Once you’ve done that, you will be able to access the control panel by browsing to http://panel.yourdomain.com:PORT
.
Theoretically, though, it is possible to configure Apache to proxy panel.yourdomain.com:PORT
to 127.0.0.1:PORT
by adding a virtualhost that looks like this:
<VirtualHost *:80>
ProxyPreserveHost On
ServerName panel.yourdomain.com
ProxyPass / http://127.0.0.1:PORT/
ProxyPassReverse / http://127.0.0.1:PORT/
</VirtualHost>
I have never used VestaCP myself before, so I do not know if that will break anything, but you can always give it a shot and just delete it if it doesn’t work. Good luck!
Hello, When you purchase a domain you will get a name server and your website will address to that name server. However, you can run a website with help of IP address also.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.