New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

can i change main domain in cwp pro

Started by zeejdeej, May 14, 2020, 01:29:09 AM

Previous topic - Next topic

zeejdeej

hello,

can i change the main domain in my currently running live cwp pro server ? how to change it without having issues with current site and subdomains.

is there a way to smoothly change the main domain and private nameservers on my vps running cwp pro? kindly suggest the best possible solution.

Regards,

Zeeshan Javed

rcschaff

Hostname.  Yes it can be changed.  If however you are also changing the nameservers, make sure the pointers are setup with your registar at least 24 hours before hand.
Google Hangouts:  rcschaff82@gmail.com

zeejdeej

i want to change the root domain which i setup initially to access my server i.e. smartwebsolutions.club:2031 , how can i change it to sws.pk:2031 , will all the subdomain sites will be working on new domain as it is ? is there a script to change it in all configuration files needed.... ?

i hope i am able to explain what i want to do ....  :)

rcschaff

Google Hangouts:  rcschaff82@gmail.com

zeejdeej

but the hostname is different i.e. server.smartwebsolutions.club , isn't that the name of the server itself? SSL is configured and working for smartwebsolutions.club:2031 , actually i am using the same domain name in cwp client panel to host sites

if i change hostname to sws.pk will all the subdomains created with smartwebsolutions.club will automatically be changed ? all the sites will work smoothly after changing hostname ?

Your Hostname is: server.smartwebsolutions.club and it resolves to IP: 62.171.139.109 [Check Black List] [Check CWP SSL] [Check WebServers SSL]
rDNS/PTR = server.smartwebsolutions.club SUCCESS [Check SenderBase]

rDNS/PTR check for IP 62.171.139.109 = server.smartwebsolutions.club

CWP Admin Panel Link (by hostname)
CWP Admin Panel Link: http://server.smartwebsolutions.club:2030
CWP Admin Panel Link: http://server.smartwebsolutions.club:2086
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2031
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2087

CWP User Panel Link (by hostname)
CWP User Panel Link: http://server.smartwebsolutions.club:2082
CWP User Panel SSL Link: https://server.smartwebsolutions.club:2083

rcschaff

You should be able to create a new domain and setup SSL for it then.   I'm guessing if your panel works without server., you somehow got your hostname cert to add an alias as domain.com as well.  So however you generated your Hostname cert would be the same, just with a different domain.
Google Hangouts:  rcschaff82@gmail.com

zeejdeej

yes i added smartwebsolutions.club in hostname cert manually. now in the cwp user panel i am using the same domain i.e. smartwebsolutions.club to host my website and i have created several subdomains. after i change the hostname to sws.pk , do i have to manually change anything in the cwp user panel for the main site and its subdomains to work with new domain i.e. sws.pk

i think i have to create custom name servers with this new domain sws.pk to point to my server right ? i.e. ns1.sws.pk & ns2.sws.pk

rcschaff

if you want to, you can keep your origional domain, AND added your new domain to the hostnme certificate.  CWP listenes on all IP's for all domains, so you shouldn't need to change anything for CWP, other than regenerating the hostname certificate.
Google Hangouts:  rcschaff82@gmail.com

Cosme Moreira

The home domain of the CWP pro account using Centos 7, by default points to the path /home/USER_NAME/public_html. How can I change this path to /home/USER_NAME/myproject/public?