How to configure subdomain from another server?

carolainn

Active Member
Feb 22, 2018
32
11
8
Argentina
cPanel Access Level
Root Administrator
Hello,

I have an account with a main domain (mydomain.com) and a parked one (parkeddomain.com).

I have a friend with other domain (friendsdomain.com) in another server.

My friend wants to show my website (mydomain.com) in a subdomain of friendsdomain.com

My friend added my IP server on his subdomain, and it is pointing fine, BUT it doesn't show my website, instead it shows the defaultwebpage.cgi

What configuration do I have to add?

Thank you.
 

carolainn

Active Member
Feb 22, 2018
32
11
8
Argentina
cPanel Access Level
Root Administrator
I tried both but I get this:

Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hi @carolainn

1. The domain must be pointed to your server in order to display your site

2. You can add a subdomain with remote dns but you'll need to go to WHM>>Service Configuration>>Tweak Settings and enable "allow remote domains"