SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast az0000000's Avatar
    Join Date
    Oct 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Redirecting a parked domain to a website in a different directory

    Hello,
    As the title suggests i would like to learn how to point a parked domain to another website hosted in a different directory on my paid hosting server.

    Here are the circumstances, i have a paid hosting and a domain, i also got a second free domain and a second website. I would like to host the second website files in a different directory then the one in which i host my main website. Than i want to park that second free domain in this server, and make a sort of redirect to point it to that second folder. How do i do that? How do i tell that second parked domain to display files from that second directory?

    Thank you a lot.

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,056
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    If both domains are registered with the same host, you can normally do this via your host's control panel.
    When you log in, do you see a menu point "Domains" or similar?
    If so, chances are that you can just point the domain at whatever directory you please. Simple as that.

  3. #3
    SitePoint Enthusiast az0000000's Avatar
    Join Date
    Oct 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for reply.
    The second domain i have got somewhere else. If i park it on the paid hosting server i can simply point it to a different directory in control panel?

    p.s. nice blog you have by the way

  4. #4
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,056
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    Quote Originally Posted by az0000000 View Post
    The second domain i have got somewhere else. If i park it on the paid hosting server i can simply point it to a different directory in control panel?
    That's how it works for me.
    For example I recently created a site for a local business. They wanted one domain that was easy for people to remember (for the shop window) and one similar domain which contained their type of business and location (for SEO).
    The biggest hosting company over here is Strato, so I took a basic shared hosting packet with them which offered two domains.
    Once these had been booked, I could simply select which folder of my website which domain should point at.

    Which hosting company are you with?
    Where's your second domain registered?

    Quote Originally Posted by az0000000 View Post
    p.s. nice blog you have by the way
    Thanks. I appreciate that

  5. #5
    SitePoint Enthusiast az0000000's Avatar
    Join Date
    Oct 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you a lot friends.
    Sorry for delayed reply.


    Frankly my hosting provider is right now in the very process of switching from one control panel to another, it was cPanel but they are changing it, so i can't really tell what menu options a have right now, but they assured me that my hosting package includes multi site hosting and multi domain hosting and parking.


    As soon as control panel will be available (within one week) I'll get back here to continue.


    Thanks again,
    Regards and Happy Holidays everyone.

  6. #6
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,672
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    az,

    Please be careful with your terms because, in the cPanel world, "parked" means that the "parked" domain sits on top of the "main" domain and serves the same files. This is NOT what you described. An "add-on" domain would reside in a subdirectory of the "main" domain and can be addressed either as a subdomain or in its own right (as an independent domain, i.e., bypassing the "main" domain completely). The "add-on" domain is the common way of hosting multiple domains on a single IP address.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  7. #7
    SitePoint Enthusiast az0000000's Avatar
    Join Date
    Oct 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My hosting company kind of understood that i have a second domain from third party, and want it to point to another website files that are hosted in a different directory than the one of the main website.

    It'll get clear when the new CP will be available i guess


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •