Assign an IP Address to SubDomain?

Bert de Jong

Member
Jan 23, 2018
24
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

Active Member
Apr 13, 2017
42
9
58
Earth
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
24
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..)
 

Babene7

Active Member
Apr 13, 2017
42
9
58
Earth
cPanel Access Level
Root Administrator
You got it wrong.

1) Backup subdomain content.
2) Delete the subdomain (from cPanel).
3) Create the subdomain as an independent cPanel account.
4) Restore subdomain content.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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