Forum Moderators: phranque
I'm working on a networked enviroment and I have an internal production server configured as follows:
name: masterserver
ip: 100.0.0.10
os: windows SBS 2003
webserver: apache 2.0
webserver port: 8080
I have many php websites in prodution and I need to access them internally. I manage to configure Apache to do this for me but only one at a time using the main webserver address: [masterserver:8080...]
What do you guys think is the best config for situation? Setting up different virtual domains or different subdomains under "masterserver" (like: [websiteX.masterserver:8080)?...]
Right now I have the following Apache config:
NameVirtualHost *
<VirtualHost *:8080>
DocumentRoot "C:/producao/html/"
ServerName masterserver
</VirtualHost>
<VirtualHost *:8080>
DocumentRoot "C:/producao/html/evorahotel_CB"
ServerName evorahotel
<Directory "C:/producao/html/evorahotel_CB">
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
I have changed "NameVirtualHost" and "VirtualHost" addresses and ports a couple of times but without sucess. The only address that works correctly is [masterserver:8080....] [evorahotel:8080...] returns a "page cannot be displayed" message.
Do I have to add any entries on the Windows SBS 2003 DNS? I've tried to add A and CNAME entries (evorahotel) pointing to 100.0.0.10 with different results...
Help is welcome.