Go to Post If you have a robot you don't need any more, use it for demos, or let a rookie team borrow it to learn wiring, programming, and demo around their school. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-10-2004, 01:44
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,509
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Questions about DNS, URL Forwarding, and Cloaking

Here's what I need to do. I need to forward a URL to an IP with a port number for example 34.328.392.94:47 I cannot use just a plain ol forwarding service, because that would put display the IP in the address bar, not the URL. If I use cloaking, the URL is displayed but the page is a 100% frame (not compatible with Google and just plain horrible). So, I need some real DNS. No problem, except it seems like DNS will only forward a URL to an IP without a port specified for example 34.328.392.94 (default to port 80). I could have DNS resolve the name, then forwarding send it to the port, but then the port would show up after the address in the borwser address bar. All I want is the URL (not the IP or port) with no frames. Also if you click a link from the main page, it's address needs to show up in the browser bar just like normal (www.somesite.com/page.html)

Is what I am in need of even possible? If not, what is the best possible solution?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004

Last edited by sanddrag : 22-10-2004 at 02:05.
  #2   Spotlight this post!  
Unread 22-10-2004, 02:33
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Questions about DNS, URL Forwarding, and Cloaking

Quote:
Originally Posted by sanddrag
Here's what I need to do. I need to forward a URL to an IP with a port number for example 34.328.392.94:47 I cannot use just a plain ol forwarding service, because that would put display the IP in the address bar, not the URL. If I use cloaking, the URL is displayed but the page is a 100% frame (not compatible with Google and just plain horrible). So, I need some real DNS. No problem, except it seems like DNS will only forward a URL to an IP without a port specified for example 34.328.392.94 (default to port 80). I could have DNS resolve the name, then forwarding send it to the port, but then the port would show up after the address in the borwser address bar. All I want is the URL (not the IP or port) with no frames. Also if you click a link from the main page, it's address needs to show up in the browser bar just like normal (www.somesite.com/page.html)

Is what I am in need of even possible? If not, what is the best possible solution?

I think you'll have to give us more info. Such as is it yoru own server on yoru own modem/router? Whats the OS and is it using apache? If I recall from when I was setting up my server (mike-site.us) I had my modem/router send any requests to my IP address to my server's ip address, then apache listened on the port which I assigned to it and voila. If I understand you correctly sounds like you want to do something like that?
  #3   Spotlight this post!  
Unread 22-10-2004, 08:55
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,509
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Questions about DNS, URL Forwarding, and Cloaking

I have already done that. It is my server on my cable modem, but my ISP blocks port 80.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 22-10-2004, 10:51
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Questions about DNS, URL Forwarding, and Cloaking

Quote:
Originally Posted by sanddrag
I have already done that. It is my server on my cable modem, but my ISP blocks port 80.
Make sure you've read your TOS, cause you might get in a lot of trouble for running Apache (or any other type of server) on your cable modem. Not that it's ever stopped me before, but just be careful and make sure to not completely saturate your upload stream unless your TOS says you can, and that's usually only true if you have a business account, not a home account.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #5   Spotlight this post!  
Unread 22-10-2004, 14:07
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: Questions about DNS, URL Forwarding, and Cloaking

Quote:
Originally Posted by sanddrag
I have already done that. It is my server on my cable modem, but my ISP blocks port 80.
Wow, that sucks. What ISP is it? I want to know so I can avoid them like the plague.
  #6   Spotlight this post!  
Unread 22-10-2004, 14:13
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Questions about DNS, URL Forwarding, and Cloaking

Quote:
Originally Posted by sanddrag
Here's what I need to do. I need to forward a URL to an IP with a port number for example 34.328.392.94:47 I cannot use just a plain ol forwarding service, because that would put display the IP in the address bar, not the URL. If I use cloaking, the URL is displayed but the page is a 100% frame (not compatible with Google and just plain horrible). So, I need some real DNS. No problem, except it seems like DNS will only forward a URL to an IP without a port specified for example 34.328.392.94 (default to port 80). I could have DNS resolve the name, then forwarding send it to the port, but then the port would show up after the address in the borwser address bar. All I want is the URL (not the IP or port) with no frames. Also if you click a link from the main page, it's address needs to show up in the browser bar just like normal (www.somesite.com/page.html)

Is what I am in need of even possible? If not, what is the best possible solution?
What you're looking to do isn't directly possible (though you can simulate it - more on that in a minute). The problem is that DNS's only purpose is to resovle a name (www.chiefdelphi.com) into an IP address (216.7.168.120). DNS knows nothing about port numbers and doesn't care. The key here is that the IP address tells you how to transport packets to somewhere on the Internet at the Network Layer, which doesn't know about ports, only IP addresses. On top of the Network Layer sits the Transport Layer (which is where TCP and UDP are), and the Transport Layer protocols are responsible for knowing about port numbers. Unfortunately DNS does not have knowledge of what Transport Layer service you're looking for, only the IP address of the host which you will find that service. This page here has a decent description of the layering approach used on the Internet.

The only way I can think of to accomplish what you want is this (which unfortunately I don't think will help you any):
You could have a machine on the Internet that answered requests on port 80 and in turn opens up a new socket connection to your server on a different port. This machine ends up just acting like a tunnel or proxy. You'd point the DNS entry for the domain name which you want your website to appear on to the IP address of this proxy. So, what happens when someone accesses a webpage is that they do a DNS lookup on your website name and get the IP address of the proxy. They connect to the proxy on port 80, and the proxy then immediately opens up a connection to your machine at home on another port, say 1234. Now, any traffic coming from the website visitor goes to the proxy which then relays it to your home machine, and any traffic from your home machine gets relayed back to the website user. Like I said this probably doesn't help you because it would require access to a machine on the Internet with an open port 80 where you could run a program like this.

One other idea that may accomplish what you're after: if your ISP does not block port 443, then you can set your webserver up on that port and use a redirection service to point to https://<your ip address> The port will not appear in the URL because the use of "https" instead of "http" tells the browser to connect to the Secure HTTP port (443). You would need a secure web server to answer the requests, though. I don't really think this is that great of a solution but I thought I'd throw it out anyway.
  #7   Spotlight this post!  
Unread 22-10-2004, 21:26
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,509
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Questions about DNS, URL Forwarding, and Cloaking

Thanks for all the info. I think it is pretty clear now that the exact thing I want is not available. For now, I've decided the easiest thing to do, is to just redirect the domain to the IP and port, and live with that until I get DSL because I don't want frames, nor do I want to set up a proxy jsut for this. I an used outside WHM account I have, and set up a cPanel account just for the redirect because its nameservers are much faster than the free redirect services available on the web.

Hopefully my DSL will come soon. It will be 4 megs down, 400K up (with port 80 open too). It is taking a while to get but I would think it is well worth the wait. My current cable is Charter (the worst isp and service ever) with 300K down 130K up for those of you who are looking for companies to avoid.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #8   Spotlight this post!  
Unread 22-10-2004, 21:32
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
Re: Questions about DNS, URL Forwarding, and Cloaking

Quote:
Originally Posted by sanddrag
Thanks for all the info. I think it is pretty clear now that the exact thing I want is not available. For now, I've decided the easiest thing to do, is to just redirect the domain to the IP and port, and live with that until I get DSL because I don't want frames, nor do I want to set up a proxy jsut for this.
A slightly better solution is to redirect the name to your domain and port, with a different sub-domain. For example, www.yourdomain.com and yourdomain.com would both redirect to www2.yourdomain.com:43, where www2.yourdomain.com routes to your IP address. If you have a good DNS host, this should be trivial to set up.
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student
Closed Thread


Thread Tools
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
Forum Jump


All times are GMT -5. The time now is 13:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi