Computing.Net > Forums > Unix > Apache Webserver

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache Webserver

Reply to Message Icon

Name: Apache User
Date: July 10, 2002 at 14:05:57 Pacific
Comment:

I've got a quick question maybe someone can answer me. Do you know how I could setup a script with Apache that if someone entered my IP address into their browser directly they would get redirected to "yahoo.com", but if they entered my URL through a DNS agent like DNS2Go, "me.d2g.com" they would get my website? Thanks again!



Sponsored Link
Ads by Google

Response Number 1
Name: Frank
Date: July 11, 2002 at 07:13:10 Pacific
Reply:

I don't know the internal of Apache but I know how the name resolution works.

This leads to the conclusion depends on !
If you are on the internet it will not work.
If you are in an Intranet it can work.
All you have to do is to make multible entrys for your DNS name / IP address at the DNS server(s)
Target which you should reach is "NSLOOKUP IP-address " leads to where ever you want.
"NSLOOKUP DNS Name" leads to your real IP address.

How you have to configure your DNS entry's to get this result depends on the DNS server himself.


No RISK no fun
Frank


0

Response Number 2
Name: Someone
Date: July 23, 2002 at 13:46:43 Pacific
Reply:

Well,you can get a program called "bouncer"
from www.freshmeat.net or
http://www.r00t3d.org.uk/bin/ and untar it,
then type ./bouncer --port 80 --destination
www.yahoo.com:80 and when they would
connect to your IP with a www browser it
would be fowarded to www.yahoo.com.This is
also a good tool for finding someones IP
that is behind a firewall and wont direct
connect with you on a chatting program
because once they connect to you it will
log their IP.Hope that helps!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Apache Webserver

MSAccess-(chili!soft)ASP-Apache webserve www.computing.net/answers/unix/msaccesschilisoftaspapache-webserve/1906.html

PHP command line interpreter? www.computing.net/answers/unix/php-command-line-interpreter/5624.html

BSD, Is it worth a look? www.computing.net/answers/unix/bsd-is-it-worth-a-look/3091.html