Assign an IP Address to SubDomain?

Bert de Jong

Member
Jan 23, 2018
23
2
3
Netherlands
cPanel Access Level
Root Administrator
hi,
In cPanel one can create a subdomain, which is a directory within the same domain. I am looking for a more separated solution. So I copied all data to a different server.

If i create an extra A record in the DNS; like: test.domain.com and point it to the latter server i still get a 404.

pinging to test.domain.com does resolve in the correct ip btw.
 

Babene7

Member
Apr 13, 2017
17
2
3
Uruguay
cPanel Access Level
Root Administrator
You don't need to copy the data to another server, just create the subdomain as a cPanel account.
Backup the content of your subdomain first just in case, then delete the subdomain from cPanel, then create the new cPanel account using the subdomain as the account's "domain" and upload/copy the data to the new account.
 

Bert de Jong

Member
Jan 23, 2018
23
2
3
Netherlands
cPanel Access Level
Root Administrator
You don't need to copy the data to another server, just create the subdomain as a cPanel account.
Backup the content of your subdomain first just in case, then delete the subdomain from cPanel, then create the new cPanel account using the subdomain as the account's "domain" and upload/copy the data to the new account.
I am not following...
First create a subdomain (ok)
Then Backup (ok)
Then delete the subdomain from cPanel ??
Then create new cPanel account using the subdomain ?? (but it is deleted in the previous step..)
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,090
559
263
Houston
cPanel Access Level
DataCenter Provider
You would indeed need to create the subdomain as its own account. It is possible to assign a dedicated IP address to a subdomain within an account but the method is not supported. There is some information on this here: Assign IP Address to Subdomain