Question

Connect my vps to my domain name

Hi folks,

I have a vps server with Ubuntu Server 14.04 LTS 64-bit with an ip-adres and i have a domain name.

What i want is when you type in the domain in the adresbar, you will get to the vps server. But i want the domain name to remain in the adres bar.

I configured the following settings in my hosting manager:

A record *.domainname.com to vps ip-adres A record domainname.com to vps ip-adres C-name www.domainname.com to domainname.com

Can anyone tell me what i need to do with the dns of the domain name and what i need to do with the vps server?

thank you


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, djakie.

this short tutorial should help you: http://stackoverflow.com/a/12654999

This comment has been deleted

I realy dont understand what i need to do!!

I see 3 name servers in my vps (3 different ip-adresses) set by dhcp…

And my domain name has 3 name servers: this is what i get when i use whois mydomainname.com

Name Server: ns3.firstfind.nl Name Server: ns4.firstfind.nl Name Server: ns5.firstfind.net

In the controle panel of my domain name, i configured the following settings in my hosting manager:

A record *.domainname.com to vps ip-adres A record domainname.com to vps ip-adres C-name www.domainname.com to domainname.com

What do i need to do with my vps? maybe /etc/apache2/sites-available ? do i need to install a dns server on my vps?

Can anyone just tell me what to step by step?