Skip to main content

Using a sub domain on another server

Comments

8 comments

  • andrew.n
    If you host your domain name (i.e domain.com and domain2.com) on your server(s) then yes you would need to update the nameservers accordingly and once the propagation done, any subdomains you create under domain.com and domain2.com will be working automatically.
    0
  • cPRex Jurassic Moderator
    Let us know if that doesn't work!
    0
  • Spirogg
    Hi. So domain2.com will reside in cPanel server but sub1.domain2.con and sub2.domain2.com would reside in Ubuntu server. So what I"ve outlined above should work this way Sorry for double checking Thanks again for your reply
    0
  • cPRex Jurassic Moderator
    As long as the DNS records point to the correct system I'd expect it to work just fine.
    0
  • Spirogg
    As long as the DNS records point to the correct system I'd expect it to work just fine.

    One last question Do I need to use 2 different ip"s one for each sub.domain.com or can I use only 1 IP for both sub domains ? thank you
    0
  • cPRex Jurassic Moderator
    There's no reason you would have to use a unique IP address for each subdomain. Much like the local server, the remote system will handle the traffic based on the Apache vhost entries even if they all point to the same IP address.
    0
  • Spirogg
    Ok thanks will try this and report back Thanks again to the both of you @andrew.n @cPRex
    0
  • andrew.n
    It's always a pleasure to work with @cPRex :)
    0

Please sign in to leave a comment.