Parked domain / redirect to diff folder?

Joined
Apr 22, 2005
Messages
103
Reaction score
0
Points
16
This is a question to all you webmasters,

I've got a new domain name which I have parked on my web hosting package.

This is for a personal site, which will have its own folder on my server. How do I point it so that its index page is in this new folder? I've got a control panel to use, but not sure which function if any I'll need to edit.

Anyone know what I mean - I'm not too technical minded so please explain in laymans terms!
 
Joined
Jan 19, 2007
Messages
219
Reaction score
6
Points
18
Location
San Jose, CA/Manoa,HI
Your Mac's Specs
13' Black MacBook Core Duo 1.25 GB Ram 80GB HD
Youll need to set the http://yourwebsite.com/index.html to redirect to the http://yourwebsite.com/personalsite/index.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>
<head> 
<title>[B]Title of Web Page[/B]</title> 
<META 
http-equiv="refresh" content="0;URL=[B]http://www.google.com[/B]">
</head> 
<body bgcolor="#ffffff"> 
</center> 
</body> 
</html>

Replace Title of Page with your Page name and replace google with http://yourwebsite.com/personalsite/

Place that code in your index.html in your main directory.
 
Joined
Feb 6, 2005
Messages
1,551
Reaction score
102
Points
63
Location
Chicago
Your Mac's Specs
MacBook Pro M1 • iPhone 14 Pro • iPad Pro • iMac Retina 27"
..or, if your domain registrar has a domain forwarding service (like godaddy.com does) you can just set it there without messing with your control panel on the web host.
 
OP
S
Joined
Apr 22, 2005
Messages
103
Reaction score
0
Points
16
Thanks for your post guys!

AnthonyJK - I just want to double check that I've explained myself (in first post) I don't want to be mucking up my site!

I have a domain www.business.com, which I use for business which has many pages etc. On my server I have a new folder 'personal', I have bought a domain name www.personal.com, from my host suppliers.

I have parked the domain www.personal.com on my package (just wanted to do that to check that it worked and my payment had gone through etc).

So I've got an index.html in my personal file, how do I get www.personal.com to point to that particular index page in that particular folder (as I already have index.html in my main directory for my business site.

Does that make sense and does your post still apply?

(soz I haven't used my html knowledge in AGES, so have forgotton most of it now!)

Thanks for your replies!
 
Joined
Jan 19, 2007
Messages
219
Reaction score
6
Points
18
Location
San Jose, CA/Manoa,HI
Your Mac's Specs
13' Black MacBook Core Duo 1.25 GB Ram 80GB HD
Yeah that makes sense there should be an option in your control panel to mask the address www.business.com/personal. So it automaticaly redirects you there. If there isnt Im not quite sure how you could do that. To be correct you have both of those domain names lead you to www.business.com?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top