Author Topic: CWP Hostname Not working  (Read 1077 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP Hostname Not working
« on: September 06, 2019, 08:21:07 AM »
Hi,
I installed CWP on Centos7, and followed the guide: (lets say my domain is example.com)
1.the first step i did in the installation is:
Code: [Select]
sudo hostname vvv.example.comand then completed my installation sucessfully.
2. my domain example.com is hosted on godaddy, so i went to godaddy and created two hostnames ns22.example.com and ns23.example.com and pointed them to my vps ip address. (both pointed to same ip address)
3. Next on godaddy i changed the default nameservers of my domain example.com and set them to ns22 and ns23.
4. I tried oppening cwp via domain example.com:2087 but didnt work, since it is not resolving correctly.
5. i login to cwp via IP address and setup the hostnames to ns22 and ns23 and did a Bind restart.
6. I tried loggin to cwp via example.com:2087 but no luck
7. I created a new account on cwp for a second domain example2.com
8. At the domain register of the second domain i set the nameservers to ns22.example.com and ns23.example.com
9. The domain example2.com oppened succefully with ssl working also via autossl

These are what i did, i need help in fixing my cwp main domain resolving and ssl for it also.
Note: before i created my nameservers i was pointing example.com to the vps via the vps ip address using A record and it was working normally but ssl was not working, but when i changed the the nameserver of example.com to ns22 and ns23, i was no longer able to access cwp via domain name so i reverted to ip instead.
« Last Edit: September 06, 2019, 08:22:46 AM by mohammeddahwi »