LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2008, 12:57 AM   #1
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
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.


Thanks for any help/links/etc.
 
Old 01-07-2008, 03:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run apache http and https on different servers for one domain? izghitu Linux - Software 1 07-04-2006 12:58 PM
Network Installation via HTTP Raggit Linux - Software 2 05-28-2005 07:16 AM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
ftp/http servers on smoothwall? oversc0re Linux - Newbie 0 02-27-2004 06:26 AM
http: can't could not determine the servers fully qualified domain name, using 127xyz s7nner Linux - Newbie 4 05-05-2003 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration