I did some searching around and thought I found the solution to my problem but I think I need a little more help.
Right now we have a functioning intranet site running in our environment. We would like to add a new URL used for our users to use instead of the localhost name. Current URL is a bit ugly: [
serverfqdn]
We recently had a new domain name entered into our DNS App.domain.com.
This is my first time using wamp/apache (I'm used to IIS) and tried using named based virtual hosts but I keep getting page cannot be displayed when accesssing app.domain.com
I ran httpd -S and it said my syntax was OK so I am a little lost on what I am missing.
Our site is located in the directory C:\wamp\www\App_1.6\App\source
The 'index' file is login.php
Here is my httpd-vhost.conf (and I made sure to uncomment it in the httpd-conf)
NameVirtualHost *:82
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:82>
DocumentRoot "C:\wamp\www\App_1.6\App\source"
ServerName App.domain.com
<Directory C:\wamp\www\App_1.6\App\source>
DirectoryIndex login.php
Options None
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Any help is greatly appreciated!