Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thanks for all the help. Now for a

Status
Not open for further replies.

rubbersoul

IS-IT--Management
Mar 20, 2003
88
CA
Thanks for all the help. Now for a real dumb question....I have a domain name (let's say I haven't gotten any hosting because I want to use my web server....First off, how will anyone find my page....I mean I get an IP address through my a DHCP server that my ISP provides so obviously this thing is gonna change....I've also been told that I need to use another port...when hosting your own personal site on your own web server...can someone clear this up for me. I need a low-cost way....this is just for practise and fun with some friends...thanks....and as a sidebar, does any1 know where I can get a good client/server chat app.?
 
Don't know why you would need another port - unless you wanted to tuck your personal site away from a standard site hosted on a web server. It may have been because the pertson that told you may have thought that hosting a web server would breach the conditions on your ISP agreement and putting it on another port would hide it from automated webserver detection routines by your ISP which would look for open port 80s. (Certainly not recommending you breach the TnCs of your ISP).

Anyway, resolving a DNS name against a dynamic IP address would not normally work. But there are companies that will set up DNS servers to do this for you - search for "dynamic DNS" - one such company is dyndns.org
 
I use for access to my PC through the internet. They have a program you install that will automaticlly update your ip when it is changed.
 
Here is a quick and dirty way to get your IP address emailed to you.......put this script into your ppp.up file or similar.

EXTIF="ppp0"
EXTIP=`/sbin/ifconfig | grep -A 4 $EXTIF | awk '/inet/ { print $2 } ' | sed -e s/addr://`
echo " External Interface: $EXTIP" > /var/log/netwatch/IP_info.log

# Mail me the results

mail Main_Email_address -s Subject_of_email -c CC_email_address < /var/log/netwatch/IP_info.log

Not sure how you can setup automatic replying from email ie. email yourself with Subject=&quot;Give me my IP&quot; and it sends this file automatically. Any ideas guys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top