Two domains showing up

Started by carl29, May 03, 2019, 07:30:17 AM

Previous topic - Next topic

carl29

Hi everyone,

After setting up CWP, every time I go to any of the configuration parts, like DNS for example, it shows two domain options, with WWW and without.

I'm afraid that something is not right since some of the configuration are maybe being applied to one and not the other.

Is this ok, or should I remove one of the options?
If so, where or what is the best way to do this?

Thank you.

carl29

Clarifying: basically it shows the same domain twice, with and without www

Igor S.

Hi,
And where exactly do you see that? Navigate, please.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

carl29

Hi,

It shows when I login with a user account, and go to DNS functions > DNS zone editor:

https://snag.gy/OLimDh.jpg

So all the DNS configurations are on the domain with www.
When I visit the website without www it doesn't work, so I'm wondering if I should copy all the DNS stuff over, but that doesn't seem to be correct also.

Thanks

josemnunez

Hello

have you added an additional domain with www?

carl29

no, I went to the main (root) panel, and added a new account with a domain.
Then went to the user account and configured it.

Then I saw that the website was not working without the www, so after investigating I saw that there was no dns propagation for the domain without www, and voila.

josemnunez

You should remove the domain with www from additional domains, so everything will be fine again!

carl29

that is the issue...

there is only one domain
https://snag.gy/dVeiyx.jpg

I guess I will need to delete it and restart everything again.

josemnunez

Please delete it and you will see that everything will work without reinstalling everything

carl29

Quote from: josemnunez on May 08, 2019, 11:23:00 AM
Please delete it and you will see that everything will work without reinstalling everything

deleted and ...nothing works anymore.

"This site can't be reached"


Netino

You have installed an additional domain.
We're thinking you've installed an account, and after that, you've installed this additional domain.

Therefore, in theory, the exclusion of the additional domain should to run the already installed account domain.
But if your account domain is not working, you should check your apache logs to find out the problem. (/usr/local/apache/logs/error_log)

Regards,
Netino

carl29

Additional domain removed.
Nothing works anymore.

I removed the user account and created a new one.

On my domain registrar I've corrected create ns1.domain.com and ns2 pointing to my server IP.

On the server I've defined the ns >> https://snag.gy/O58m2P.jpg

I login to the user account, go to the DNS part and I see this https://snag.gy/urPQvn.jpg

If I do a NS lookup it says they cannot find the NS of my website, therefore not working.

Could you please help to solve this?

Thank you

carl29

Quote from: carl29 on May 13, 2019, 08:51:43 AM
Update:
I pressed check all zones and result is: https://snag.gy/RSpjaM.jpg

Opening the /var/named/ns1.domain.com.db file I see https://snag.gy/5gFiCm.jpg

carl29

When i try to rebuild the zone it says "WARNING! username NOT found!"

Igor S.

Just use CWP support or ask some competent sysadmin to check that.
It is too simple to fix, but too hard  to explain ;)



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services