I have created a basic html page on apache2 on a pvt server with a cloud hosted provider. The basic page loads up with the public ip of the cloud hosted provider which is great. However after adding the vhost for my site the page does not load in a browser with the sitename. I understand that i have to register the DNS for thesite name with DNS hosting service such as cloudflare. Is that right? I have however seen videos of folks who were able to call example.com on http server without registering the site with a DNS. Why am i seeing This site can’t be reached in my browser?
When trying to register mysite.com with the publiip on cloudflare I am asked to update nameserver to a cloudflare provided nameserver. What is the nameserver in my case. Does this mean i have to update mysite vhost entry with the cloudflare namespace Any help is appreciated