SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 7th, 2004, 04:11 AM
skiloup skiloup is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 15 skiloup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to skiloup
Domain Forwarding?

Most all domain registrars allow you to forward your domain, to another domain with the option of masking as well. If I'm not making myself clear here's an example.

Say I have setup domain (URL) forwarding with my registrar. Now if I change my nameservers to THEIR nameservers, when a person goes to http://mydomain.com they actually get redirected to http://myotherdomain.com/somethingReallyLong/

If THEY can do this, why can't I do it as well? I'm curious because it seems as though there are a lot of people that have ISP's that block web servers and the such by blocking individual ports. However, if you set things up on a different port and add that damn annoying http://mydomain.com:xx the problem is solved. It'd be handy if I, myself, could redirect requests to any port I choose. I realize you can't do this in zone files (that I know of). But HOW DO THEY do it? Perhaps this isn't a DNS related question?

Reply With Quote
  #2  
Old March 7th, 2004, 10:15 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
It's not a DNS related question but we forgive you (or at least I do. ). I provided URL forwarding for free though it isn't advertised. Some dude I know came to me with a long URL on a wierd port and said "can you make my domain go to this?" and I was like "sure". First I had his domain he registered and hosted through me point to my webserver. Then I added this to my httpd.conf:

<VirtualHost *>
ServerName www.abalmywinter.net
ServerAlias abalmywinter.net *.abalmywinter.net
Redirect 301 / http://tbr.balmy.cx:7081/va/balmy/
</VirtualHost>

Now

http://www.abalmywinter.net redirects to
http://tbr.balmy.cx:7081/va/balmy/

http://www.abalmywinter.net/test/directory redirects to
http://tbr.balmy.cx:7081/va/balmy/test/directory

Then he asked if there was any way to hide the URL it was redirected to. I said "sure, all I have to do is put it in frames" and he said "nah, I don't want to bother you" and I said "ok". The site is down now, so don't bother testing the above example.

What I currently do is URL forwarding and what he wanted me to do at first was "masking" the URL. Now I don't know if this is what those businesses actually do. I just know enough about DNS and HTTP to accomplish it. I have other ideas too, you could forward the request to a script which does the redirecting. It can check to see if the site is even online, and if not, return a default page letting the user know the site is down.

One last note, you cannot do URL forwarding for yourself to avoid blocked ports. The webserver that does the forwarding must be available via port 80.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Last edited by SilentRage : October 7th, 2004 at 06:13 PM.

Reply With Quote
  #3  
Old March 7th, 2004, 06:26 PM
skiloup skiloup is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 15 skiloup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to skiloup
Sweet. I like the script idea as well. I wasn't really aware of a web server having those capabilites. Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Domain Forwarding?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway