Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 11-26-2001, 03:21 PM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default Wildcard DNS / Redirection Service help

So I own this domain name, znull.com.  Which is a common mistype of xnull.com.  I want to set it up so that when anyone types in http://www.znull.com/anything/anything.html it will redirect to another page.  How can i easily do this?  Also, how can i make it so that anything.znull.com/anything also works?

Thanks

keefe
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
  #2  
Old 11-26-2001, 05:53 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default Re: Wildcard DNS / Redirection Service help

in your anything.html put...
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.website.com/">
---------------------------------------------------
make a index.html in your /anything directory, and if the server is configured correctly, it will use index.html when a person goes to just the /anything directory

Reply With Quote
  #3  
Old 11-27-2001, 12:53 PM
Omega Omega is offline
Administrator
 
Join Date: Nov 2001
Location: Minneapolis, MN, USA
Posts: 957
Send a message via ICQ to Omega Send a message via AIM to Omega Send a message via MSN to Omega Send a message via Yahoo to Omega
Default Re: Wildcard DNS / Redirection Service help

I don't think that's exactly what he meant.  Hopefully you can customize your own 404 error page.  If so, just make the error 404 page redirect to the page you want with the code Uranium-235 posted.
Reply With Quote
  #4  
Old 11-27-2001, 01:49 PM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default Re: Wildcard DNS / Redirection Service help

I wanted to have it to if you went to any file in any directory it  would forward to a different page.  I used something similar to what omega was talking about.  I found a nice script that allows you to have your own custom 404 errors using a .htaccess files and a perl script.  I added a normail meta refresh tag into the code and it works for everything.

Thanks!
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:27 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.