Forum Moderators: phranque
For my company I have to setup a webserver (apache ofcourse!) that can be accessed by the url 'http://webserver'
The webserver will be installed on the Windows Netwerker server in our network, which also serves as network/exchange/disc.
I know the internal IP for this machine.
My questions:
- Is it possible and even recommended to use the Windows networkserver as webserver (+mysql)?
- How to configure the webserver (apache) to be accessed as [webserver...] in our local network? (external access is needed also with https login)
- How can I add multiple domainnames and ports to the webserver, redirecting to subsites? (eg. [webserver:90...] for [server]localhost/site2 or [site2.webserver...] or [webserver...] )
- The httpd.conf file must limit external access to only logged in clients (eg. [webserver...] to log in)
- I assume the network-server is internal accessable so no router problems with IP's should occur.
I have technical knowlegde about networking and Windows Server and also about PHP (up to 5) / MySQL / "system32/hosts"file etc.
Please give me some feedback on how to accomplish my wishes, by giving examples or tips and advices.
I've previously searched the internet, but my guess was to ask the people who are familiar with Apache.
Thanks in advance!
Mathijs de Jong
[edited by: Woz at 12:50 am (utc) on May 30, 2005]
[edit reason] No Sigs please, see TOS#13 [/edit]
Is it possible and even recommended to use the Windows networkserver as webserver (+mysql)?
It is possible. I've never seen it being recomended though, but it isn't discouraged either. It's common to run a development Apache server on Windows. There are many tutorials that exmplain how do that. Search for some WIMP tutorials. There are even bundle installation packages that have all you need with one install.
How to configure the webserver (apache) to be accessed as [webserver...] in our local network? (external access is needed also with https login)
I assume that "webserver" is just "webserver", not a real domain. In that case it is possible, but really difficult. I'd suggest getting a real domain, or point a subdomain to your server.
How can I add multiple domainnames and ports to the webserver, redirecting to subsites? (eg. [webserver:90...] for [server]localhost/site2 or [site2.webserver...] or [webserver...] )
Have a look at:
1. Apache Virtual Host documentation [httpd.apache.org].
2. My other post VirtualHost config tip [webmasterworld.com]
The httpd.conf file must limit external access to only logged in clients (eg. [webserver...] to log in)
Again, Apache docs explain it pretty good. Look at Authentication, Authorization and Access Control [httpd.apache.org].
I assume the network-server is internal accessable so no router problems with IP's should occur.
You need to redirect the desired ports to the machine that runs the webserver.