How to access a website by domain name using Vesta Control Panel

May 26, 2019 509 views
CentOS Apache

Hello,

I am a newbie with Centos 7 and Vesta Control Panel. I have installed Vesta CP on Centos 7 successfully and configured DNS records, FTP correctly, etc.

However, I cannot access my website via domain name, but I can view it via IP instead.

I have searched on the Internet, but cannot find a solution to it.

Can you please help guide me how to configure VestaCP so that I can view it via both domain name and IP?

I appreciate your kind support.

Regards

Thon

2 Answers

To start you will need to ensure that your domain name is directed at your droplets IP address or Floating IP respectfully if you set this up. The DNS entry can be an A:RECORD for the naked domain (domain.com) or a sub-domain (vesta.domain.com), this is your choice.

https://www.digitalocean.com/docs/networking/dns/

Hi jasonjpeters,

Thank you for your help.

What is a Floating IP? Do I need it to host my websites?

I seem to setup DNS records correctly, that is why my domain name has been propagated well at https://www.whatsmydns.net

However, I cannot access my website via domain name; only IP can display my website. How can I make my website viewed via Domain Name on Vesta CP?

I appreciate any advice.

Cheers
Thon

Have another answer? Share your knowledge.