Control Web Panel
WebPanel => Information => Topic started by: emar 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.
-
What kind of errors do you get ?
-
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
-
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
-
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.
-
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.