Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-17-2004, 12:55 PM
|
#1
|
Member
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109
Rep:
|
Important question!
Hey guys, this involves both FreeBSD and Linux
I run a BSD servre, just the basics... Webserver, SHoutCAST and a few other things. However I recently moved, and obtained a new ISP. Which means I need to change my hosts file. The way it was set up before, was the DNS sufix that I was given to my modem I tossed in the host file with the internal IP address. Then used DynDNS.org and put my public IP in and it gave me the hostname lust.homeunix.org. Easy enough, I just edited httpd.conf and put lust.homeunix.org as the Servername, forwarded port 80 on my router and bingo, working webserver! Now the problem with this new ISP.... the DNS sufix, has not showed up yet, I don't know if thats becuase it hasn't registerd yet since it was setup today or what. However I didn't think I needed that? I thought If I registerd my new IP with DynDNS.org with a new name, lets call it collegestation.homeunix.org, and I put collegestation.homeunix.org in my hosts file and in my httpd.conf it should work?
Basicly the hosts file looks like this...
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
192.168.0.2 new.hostname.from.DynDNS.org.here (tryed public IP to)
Now I guess I just have confused my self, thinking about it to hard or something. On another note, this was just weird, but when I plugged the server into the network, I couldn't ssh into localy untill it recieved the mac address from the cable modem, talk about odd! But thats a differnt problem, back to the problem at hand.
Httpd.conf
ServerName new.hostname.from.DynDNS.org.here (also tryed public IP here)
Any suggestions anyone might have would be greatly helpful!
Thanks.
|
|
|
08-17-2004, 02:21 PM
|
#2
|
Member
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109
Original Poster
Rep:
|
/bump 
|
|
|
08-17-2004, 02:51 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.
http://www.linuxquestions.org/rules.php
|
|
|
08-17-2004, 05:05 PM
|
#4
|
Member
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109
Original Poster
Rep:
|
Well guys, I figured it out... after hours of brain knocking, I discoverd that Cox cable, my ISP blocks port 80 lets all be thankfull for ICMP echo requests /grin :P (Go go PING!)
My netgear router won't allow me to view my webpage publicly, but thats mainly becuase it only has two interfaces, and the LAN interface doesn't loopback to the WAN interface.
I have my website forwarded to port 8080 http://lust.homeunix.org:8080
Now I just have to figure out how to change my links, to stop them from trying to go to http://lust.homeunix.org, my fourm (PhpBB2) keeps trying to do that  Must find a way to have it route too :8080
Thanks.
|
|
|
All times are GMT -5. The time now is 03:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|