Author Topic: Will CWP work with a subdomain?  (Read 11599 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Will CWP work with a subdomain?
« on: March 14, 2018, 05:22:38 PM »
Hi,

Can I use a subdomain that was set up on another linux server in whm/cpanel?

Example clients.domain.com
This subdomain is pointed to my VPS.
The VPS Hostname is set to clients.domain.com
The VPS has one IP.

CWP installs fine but when I start playing with the settings,
I keep getting errors with the Hostname

Can anyone take a look at my setup in teamviewer or something?
I don't mind paying for support if I can get this setup correctly.

I created a user and added the subdomain as a domain, then enabled autossl and got locked out somehow.
So I completely rebuilt Centos 7 and enabled firewalld and changed the root login port.
I'm installing CWP again, but i need someone to have a look at my configuration.
« Last Edit: March 14, 2018, 05:25:20 PM by emar »

Offline
*
Re: Will CWP work with a subdomain?
« Reply #1 on: March 14, 2018, 09:18:20 PM »
What kind of errors do you get ?

Offline
*
Re: Will CWP work with a subdomain?
« Reply #2 on: March 14, 2018, 09:28:19 PM »
Whatever I put in: Not a valid Hostname.
I think I have the whole subdomin thing a bit mixed up, I should use a FQDN but testing it with a subdomain.
I set it up on another server, dns records are there, pointed that to the vsp. maybe A records are mixed up.
Now I'm trying to use that subdomain for the CWP setup and my main site at home/user/public_html
Or maybe I need two subdomain I dunno, one for the site and one for svr1.clients.domain.com

Anyway I just did a fresh install, Centos 7, CWP 7
« Last Edit: March 14, 2018, 09:34:47 PM by emar »

Offline
*
Re: Will CWP work with a subdomain?
« Reply #3 on: March 15, 2018, 07:33:46 AM »
hostname can't be used on any account it can be only used for the hostname if you want to have a proper setup.
You should also test your dns records with commands like dig/host

example
host sub.domain.com
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Will CWP work with a subdomain?
« Reply #4 on: March 15, 2018, 12:53:33 PM »
I see,

So for the hostname, should I have a subdomain setup at the other server (cpanel) and set the dns for that subdomain
under the main domain's dns zone? then set up another subdomain to use for my vps.

Offline
*****
Re: Will CWP work with a subdomain?
« Reply #5 on: April 11, 2018, 06:44:49 PM »
I see,

So for the hostname, should I have a subdomain setup at the other server (cpanel) and set the dns for that subdomain
under the main domain's dns zone? then set up another subdomain to use for my vps.

Hi, the hostname must be set in the domain DNS host.
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