NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Hosting Discussion
Reload this Page Domain parked 404 page redirect help

Web Hosting Discussion Hosting topics including DNS, control panels, servers, choosing a host, support.

Advanced Search
3 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 02-19-2005, 07:08 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jan 2005
Posts: 30
neoone is an unknown quantity at this point
 



Domain parked 404 page redirect help


Hi,
I have 2 domains
e.g. www.mydomain.com and www.mydomain.biz
and I have the www.mydomain.biz parked on www.mydomain.com
????: NamePros.com http://www.namepros.com/web-hosting-discussion/70944-domain-parked-404-page-redirect-help.html
I have 404 redirect pages on www.mydomain.com but how do i get it to work for www.mydomain.biz?

this is the code i have used on the dotcom domain.

<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=http://www.mydomain.com">
</HEAD>

Thank you for visiting mydomain.Com
<br><br>
This page no longer exsists, please visit out homepage and tell us what you would like to see on our homepage.
<br><br>
Thank you

<p><p>
----------------------------------------------------------------------
<br> Please Wait while we forward you there..........
<P>If this does not work for any reason use the link below:
<P><A HREF="index.htm">http://www.mydomain.com</A>


<!--

-->


Is the above code okay or is something wrong with it.

thanks

does something need to go in the htaccess file?

thanks
Last edited by neoone; 02-19-2005 at 07:09 AM. Reason: title edit
neoone is offline  
Old 02-19-2005, 09:47 AM   #2 (permalink)
NamePros Member
 
hotirish's Avatar
Join Date: Feb 2004
Location: Europe
Posts: 86
hotirish is on a distinguished road
 



If the biz domain is parked on the com, the same 404 page will display.
If you want to use the full relative URL for each domain, use something like
<!--#echo var="HTTP_HOST" --> in your 404 page.

You also need to add a line to .htaccess file
something like:

ErrorDocument 404 /notfound.html
hotirish is offline  
Old 02-20-2005, 01:05 AM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jan 2005
Posts: 30
neoone is an unknown quantity at this point
 



thanks


Thanks for your reply.
I am adding the 404 code in the cpanel in the 404 page bit but it isn't appearing. I have been told by the host the IE has a requirement for the page to be bigger then 15KB?

IS that true?

thanks
neoone is offline  
Old 02-25-2005, 12:27 AM   #4 (permalink)
JMJ
Senior Member
Join Date: Mar 2003
Location: Nashville
Posts: 1,888
JMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud of
 



Add this to your .htaccess

ErrorDocument 404 http://yourdomainname.ext

It will work for all names parked.

Example:

www.615.biz/asddg
www.nashvilletennessee.net/dfgth
Last edited by JMJ; 02-25-2005 at 01:13 AM.
JMJ is offline  
Old 02-25-2005, 07:38 AM THREAD STARTER               #5 (permalink)
NamePros Member
Join Date: Jan 2005
Posts: 30
neoone is an unknown quantity at this point
 



thanks i will try that
I have been told by the host the IE has a requirement for the page to be bigger then 15KB?

IS that true?

thanks
neoone is offline  
Old 02-25-2005, 11:15 AM   #6 (permalink)
JMJ
Senior Member
Join Date: Mar 2003
Location: Nashville
Posts: 1,888
JMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud of
 



If you do the above there's no need for a 404 page since noone will ever see it. But otherwise yes there is a file size limit from what I remember but I've been doing the above for several years now. Before I learned the above I always just put my index.html code in the 404.html
JMJ is offline  
Old 02-25-2005, 02:40 PM THREAD STARTER               #7 (permalink)
NamePros Member
Join Date: Jan 2005
Posts: 30
neoone is an unknown quantity at this point
 



thanks, it works great nice one

Also i wanted to know is there a way to use the same thing for a 509 error bandwidth exceeded?

thank you
neoone is offline  
Old 02-25-2005, 02:48 PM   #8 (permalink)
JMJ
Senior Member
Join Date: Mar 2003
Location: Nashville
Posts: 1,888
JMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud ofJMJ has much to be proud of
 



If you exceed your bandwidth thats a error document setup via your host generally. I would assume there's no way around that one considering you are exceeding your alotment so your account is actually in suspension status.
Last edited by JMJ; 02-25-2005 at 02:53 PM.
JMJ is offline  
Old 02-25-2005, 04:08 PM THREAD STARTER               #9 (permalink)
NamePros Member
Join Date: Jan 2005
Posts: 30
neoone is an unknown quantity at this point
 



Thanks.
Its just really annoying i am 35mb over this month and there are only three days left.

thanks anyway

Is there a way if you have say www.site1.com/prod.php?12 and you want that to redirect to www.site2.com/prod.php?12 but automatically becuase i have lots of pgaes as e.g. prod.php?14 , prod.php?15

thanks
neoone is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 09:37 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger