Web Hosting Forum | Lunarpages

Author Topic: addon domain or parked domain or...?  (Read 1834 times)

Offline omq

  • Pong! (the videogame) Master
  • *****
  • Posts: 29
addon domain or parked domain or...?
« on: February 01, 2012, 01:30:09 AM »
Hello,
I have an online webstore of my current LP website hosted somewhere else.  I am considering moving my store's website and content over to live under my regular LP site.  But I want to keep my store's domain name.   What would be the best way about doing this? 

Right now I have something like       mySITE.com on LP, and mySTORE.com on some other host.
I want to move mySTORE.com's contents under mySITE.com's.     
So if you go to mySITE.com/store, you'll see mySTORE's content. 
However i also want to keep the domain name mySTORE.com to point to that folder as well, so that when my users go to mySTORE.com/product.html, they'll see whatever's in mySITE.com/store/product.html.  Or something like that.

I hope that made sense?
Would I need to create an Add-on domain or a Parked domain that points to /store?  I'm a bit confused between the two..
Or is this something to be achieved with some apache mod-rewrite magic on mySITE.com's root folder?


thanks for your input!






Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6246
Re: addon domain or parked domain or...?
« Reply #1 on: February 01, 2012, 06:39:13 AM »
Domain names and hosting are two separate things. Your domain name registrar, whoever you're using, points requests for mySTORE.com to wherever the server is that holds the pages. If you want to move the physical hosting to your LP account (currently mySITE.com), while retaining the mySTORE.com domain for it, you would use your LP control panel (cPanel or LPCP) to create an add-on domain on your account. This would be in /home/ACCOUNT/public_html/mySTORE/, and would be accessed by mySTORE.com. Your registrar for mySTORE.com will have to be told to "point" your mySTORE.com domain to the same nameservers that your mySITE.com domain is using. That's it! It may take a day or two for the DNS system to completely move over all requests to your store (it's not instant). Your customers will not see anything different.

currently:

      registrar                               nameserver                    host

  mySite.com     --->              something at LP1, 2  --->     public_html/

  myStore.com   --->              something at other1,2 --->   public_html/

after move:

  mySite.com     --->              something at LP1, 2  --->     public_html/
                                              ^             |
  myStore.com   -----------------+             +--------->     public_html/myStore/
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline omq

  • Pong! (the videogame) Master
  • *****
  • Posts: 29
Re: addon domain or parked domain or...?
« Reply #2 on: February 06, 2012, 07:06:54 PM »
Thanks MrPhil!    That sounds a lot easier than I expected!  I'll give that a shot over the new couple of weeks.



 

Share |