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

  • az0000000
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 02, 2005
  • Posts: 56
  • Loc: Moldova, Chisinau
  • Status: Offline

Post December 22nd, 2012, 12:56 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 22nd, 2012, 12:56 pm

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post February 15th, 2013, 1:08 pm

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.
"It's always a long day, 86,400 won't fit into a short."
  • az0000000
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 02, 2005
  • Posts: 56
  • Loc: Moldova, Chisinau
  • Status: Offline

Post February 18th, 2013, 2:14 am

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.

Post Information

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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.