Author |
|
dmikester1
Joined: 02 Nov 2010 Posts: 5
|
Posted: Tue 02 Nov '10 0:12 Post subject: configuring Apache for company Intranet |
|
|
Well, I got sick and fed up with stupid IIS because of all the limitations. Switching over to Apache. Luckily, we have two web servers. So I'm testing on one while the other is currently serving our Intranet using IIS. I have it working so I can go to "intranet2" from the server itself and it pulls up the right site. However, I can't do that from my local computer at all. I think I have to configure something to do with a proxy from the research I've done so far, but I could be wrong. Can someone help me figure this one out? I hope that I can serve both sites with 2 different names, one from server1 with IIS, and one from server2 with Apache.
Thanks
Mike |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 02 Nov '10 15:24 Post subject: |
|
|
What kind of proxy do you use? Apache? Some other?
Maybe it is a DNS problem. Can you ping intranet2 ? |
|
Back to top |
|
dmikester1
Joined: 02 Nov 2010 Posts: 5
|
Posted: Tue 02 Nov '10 15:37 Post subject: |
|
|
I don't think I use any proxy right now. That's what I'm asking about. Should I use one for this situation and how do I set it up? I cannot ping intranet2 from my computer.
Thanks
Mike |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 02 Nov '10 23:51 Post subject: |
|
|
ok you can't ping the pc where intranet2 is installed. Do you know the IP of intranet2? If yes and you have admin persmissions on your local pc you can edit your C:\Windows\system32\drivers\etc\hosts file and add there intranet2
e.g.
Code: |
192.168.178.10 intranet2
|
Than you shall be able to ping and access apache on that server. |
|
Back to top |
|
dmikester1
Joined: 02 Nov 2010 Posts: 5
|
Posted: Fri 05 Nov '10 20:43 Post subject: |
|
|
Well, I can ping the IP of the webserver where I am hosting intranet2, I just can't ping the name "intranet2". I know there has to be another way than adding a block into my hosts file. Because right now we can type in "intranet" into the address bar and get our current intranet. And there is nothing in my hosts file to tell my computer where "intranet" is pointing to. Also I don't want to have to edit the hosts file of every user in our company so they will be able to access the intranet.
Thanks
mike |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 08 Nov '10 15:19 Post subject: |
|
|
if you don't want to edit your hosts file you have to ask your admin for adding intranet2 to the DNS. |
|
Back to top |
|
dmikester1
Joined: 02 Nov 2010 Posts: 5
|
Posted: Mon 08 Nov '10 18:11 Post subject: |
|
|
Nevermind, this reply. With your reply, I went to Google and found out how to do it myself. Thank you very much for this help.
Mike
<strikethrough>Right, I am the admin. Would you mind walking me through how to add that to the DNS or point to a good tutorial?</strikethrough>
Thanks
Mike |
|
Back to top |
|