Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95
Rep:
2 http servers, one network
Hello, I have one question that's been boggling my mind for a while. I think the networking forum's the best one for this.
So I'm a freshman at my college and I'm trying to set up an http/ftp/samba server for few of my buddies to use (school allowed). I'm running Slackware 12.0 (cli-only). The samba part is done. Now onto the http/ftp.
My problem is that there is already an HTTP IIS server set up on the network (on the main server in the lab) to which I have no access to (senior class, go figure). Nor the router/firewall. When I type localhost in my browser, I get this IIS server. Once I've tried setting up an Apache server on one of the computers in the lab, but I couldn't access it by using the machine's IP. When I used the localhost (or the ip that I got through whatismyip.com or whatever lookup), I'd get this IIS server. So that's the whole DHCP crap going on.
My question: Is there a way to set up a second server on the network?
Would I simply just have to use a different port on the 2nd one and just using the IP i got from the IP address lookup? (like 8080)?
Or is there some other solution to that problem, it's 1am and my mind's just wandering around trying to figure it out. Can't find many how-to's on the web either, so I figured I'd ask here.
the fact that there is an IIS box is utterly irrelevant. if "localhost" points to a remote machine, then you've presumably got messed up dns settings, most specifically /etc/hosts. the only way to change localhost to something else is to either change or delete the entry / file altogether, both of which are bad ideas...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.