Author Topic: Domain, Server DNS Pointing host space configuration  (Read 779 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Domain, Server DNS Pointing host space configuration
« on: November 21, 2018, 12:02:15 PM »
Hello guys,
I setup my server smoothly and in my point of view well configured.
The situation is as follow:
My server hostname is srv1.example.com
I have 1 Domain registered to a company lets say example.com
In the Domain manager I changed the Nameservers to point to Cloudflare exactly to: abby.ns.cloudflare.com and eric.ns.cloudflare.com
Also in my server I pointed the nameservers to this ones as I want my domain to be managed from Cloudflare nameservers.

Then created a new User with the domain exsample.com
After creating the user with the domain the website was live and was showing the Centos-Web Panel welcome page.

I went to /home/example[useranme]/public_html/index.html and tried to modify that index file to see if the domain example.com is pointed to this folder.
But here is the issue/missconfig that this domain example.com is not pointing to this folder (/home/example/public_html)but is pointing to the CWP main folder.

I can reach the example.com public_html folder from http://IP/~example/

Did anyone faced such situation?
Any help will be appreciated.

Thank You

Offline
***
Re: Domain, Server DNS Pointing host space configuration
« Reply #1 on: November 24, 2018, 01:54:07 AM »
Usually this happens due to cache data. Did you check on any other browser?

If you have replaced the index file, it should not show you the default page.