Using Mulpitle Domains for One Hosting Account

  • cesarcesar
  • Novice
  • Novice
  • cesarcesar
  • Posts: 23

Post 3+ Months Ago

Hi all,

I want to set up one hosting account and access it via multiple domain names. Each different domain name will server the user slightly different content without the user knowing about the other domains. How do i do this?

Example: User comes to my hosting account via http://www.siteA.com. The whole time the user is on the site the base URL never changes from http://www.siteA.com. The user needs to see http://www.siteA.com/page1.php as so on. (Actually i plan to use ModRewrite to alter the page name, but that comes later.) Now when another user comes to http://www.siteB.com they need go to the same hosting account and see the site as if they have no clue about http://www.siteA.com, just with some different content.

Tested: I have tried using a .htaccess Symlink, but this will not work as it just redirects like a 301. Similar with CNAME's at my registrar.

Tested: Frame Forwarding via hosting account. This doesn't work since the forwarded URL doesn't change from the base URL. Meaning, http://www.siteA.com never changes to http://www.siteA.com/page1.php. Also any links show the forwarded to's URL in the status bar.

I hope my detail in description has been enough and someone has a great suggestion for me. Thanks much.

CEsar
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • jimpossible2k
  • Born
  • Born
  • jimpossible2k
  • Posts: 3

Post 3+ Months Ago

If you have a hosting provider that uses cPanel, all you have to do is use the Domain Manager and add the domains to your account. This will create a separate directory for every domain or sub-domain that you wish to use. Each domain points to a directory so it looks like you have different websites when in fact they are all on the same server.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

jimpossible2k wrote:
If you have a hosting provider that uses cPanel, all you have to do is use the Domain Manager and add the domains to your account. This will create a separate directory for every domain or sub-domain that you wish to use. Each domain points to a directory so it looks like you have different websites when in fact they are all on the same server.


You were saying hosting that uses cpanel. How about I use one host(cpanel) and be pointed by 2 domains from another domains reseller to the same DSN. But then.. I got to have 2 index page? which is not workable :scratchhead:

Is it advisable?

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.