Author Topic: Nameserver confused..  (Read 487 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Nameserver confused..
« on: October 09, 2021, 10:47:24 AM »
Hi

I will start the topic as many others..  I'm a newbie on this.. Treat me gently.. ;-)

Just bought a VPS package with Centos7 and no control panel, but with one extra IP.
Have been able to install CWP, and then the questions start to overflow.

Want to use my own nameservers on my domain.
Logged into eNom and added nameservers on both IP adresses.
ns1.xxxx.com resolves to the server IP
ns2.xxxx.com resolves to the additional IP.

Added a user with the domain xxxx.com in CWP

Edited the name server fields in CWP to same info/ip as I typed in when created them in eNom
And then suddenly, within a second.. The domain showed up on internet  :-D

Everything worked fine..  :)  For one day..   :'(

Now the domain are not reachable anymore.

If I "List DNS zones" in CWP I find that nsX.centos-webpanel.com still exists..
Can this cause any problem.. Or is this just not the way to go..??



Offline
*
Re: Nameserver confused..
« Reply #1 on: October 17, 2021, 09:50:27 PM »
1) Before installing CWP, set a hostname and then install cwp. Example: hostname server.yourdomain.com

2) Add custom nameservers from the domain control panel.
ns1.yourdomain.com
ns2.yourdomain.com
Enter the main ip address that your service provider gave for vps in both of them.
Enter the cwp panel using the ip address. (youripadress:2031)

3) Add nameservers in cwp info section on cwp homepage
ns1.yourdomain.com
ns2.yourdomain.com

4) add a new user and assign yourdomain.com to that user.
Add a subdomain named server.yourdomain.com and make sure you have ssl certificates for all subdomains and maindomains.


After these processes, you should be able to access the cwp panel via server.yourdomain.com. You can build any website you want on yourdomain.com from the panel of the user you added.

Code: [Select]
https://www.youtube.com/watch?v=9BhBggfaFc0&list=PLYPFxrXyK0BwWoBSRogkIawVsHEklPkZs
ALSO you can watch this playlist and check where you went wrong.
« Last Edit: October 17, 2021, 09:54:04 PM by CtrlTR »