Redirecting a parked domain to a website in a different dir.

  • az0000000
  • Beginner
  • Beginner
  • User avatar
  • Posts: 57
  • Loc: Moldova, Chisinau

Post 3+ Months Ago

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.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Off the cuff, you can cname the second domain to the first, then in the apache config redirect match on that domain to the first t a specific URI.

This all assumes you have access to the webserver config.
  • az0000000
  • Beginner
  • Beginner
  • User avatar
  • Posts: 57
  • Loc: Moldova, Chisinau

Post 3+ Months Ago

Thanks for reply. Sounds good, and a bit complicated to me a beginner in domain managing area. Would you mind an example for me? Thank you a lot.
  • postcd
  • Novice
  • Novice
  • postcd
  • Posts: 21

Post 3+ Months Ago

You can use .htaccess redirect, its quite easy. there are generators which help you to add proper content in the .htaccess file.
  • az0000000
  • Beginner
  • Beginner
  • User avatar
  • Posts: 57
  • Loc: Moldova, Chisinau

Post 3+ Months Ago

This sounds nice too. Thanks a lot.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 17 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
 
 

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