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
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!
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!
Summary: I backed into this problem. We developed an access database which we used ASP to create Web pages on internet for data entry and data viewing. Having this application on a WinNT server/IIS4 is no prob...
Summary: Hi! I have an account at my university and would like to run a few php scripts on it over a ssh connection. I have a disc quota of about 20 MB. The complete php 4.3.3 source extracted is over 20 MB in...
Summary: I am pretty new to operating bsd as I just downloaded it from work today; however, the research and history I have had with it over the years is quite extensible. FreeBSD 4.5 is amazing in its featu...