Skip to main content

Point multiple domains to one cPanel account

Comments

3 comments

  • cPanelMichael
    Hello :) Have you considered making the additional domain name a parked or addon domain name via cPanel? Thank you.
    0
  • jbcams
    Hi Michael, that's awesome. I guess that pretty much does what I need. I've been looking around for solutions to make this more automated and was wondering if there is anything in the cPanel API that would allow me (through php script) to automatically add a name into the parked domain list. In regards to the quick and dirty way I did it before, is there anything inherently wrong with it? I have tested from a couple of external domains and, as long as the main account domain is on its own IP, it seems to work ok. Thanks so much for your help. Regards, Jon
    0
  • cPanelMichael
    Documentation on the parked domain API functionality is available here: Park Domain API [quote="jbcams, post: 1598832">In regards to the quick and dirty way I did it before, is there anything inherently wrong with it? I have tested from a couple of external domains and, as long as the main account domain is on its own IP, it seems to work ok.
    There is nothing wrong with that method, however note that it will not work when using a shared IP address. The reason it works in the scenario you described is because a dedicated IP address will load the contents of the website assigned that IP. Thank you.
    0

Please sign in to leave a comment.