using wampserver for website on virtual server
Posted by: treybraid (---.dhcp.athn.ga.charter.com)
Date: April 09, 2012 04:51AM

We are in the process of moving our City Website over to a virtual server and want to use WAMPSERVER . We have it up and running with the file's loaded...

The website in question: www.lagrange-ga.org ( this hasn't been moved over yet )

If we view the website intenrally this is how it comes up: to get to it we click on WAMPSERVER> localhost>city folder> and this is how it appears in the url: www.lagrange-ga.org/city

Is it possible to remove the reference to the " city " folder and how or are we trying to utilize WAMPSERVER in a way that is not possible.

I hope I am making sense...

Thanks
Trey

Options: ReplyQuote
Re: using wampserver for website on virtual server
Posted by: toivo (---.belrs5.nsw.optusnet.com.au)
Date: April 09, 2012 01:01PM

Depending on your internal network, you could have the domain name as an internal DNS entry which points to the internal IP address of the server. Alternatively, add a new entry into the hosts file on each workstation and it does the same thing.

You can set up a virtual host entry in extra/httpd-vhosts.conf, following the example of name-based virtual hosting and you will get rid of the name of the folder. Read about virtual hosts in the Apache manual.

Remember to un-comment the line pointing to virtual hosts in httpd.conf:

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-vhosts.conf



Edited 1 time(s). Last edit at 04/09/2012 01:03PM by toivo.

Options: ReplyQuote
Re: using wampserver for website on virtual server
Posted by: rob20 (---.dhcp.aldl.mi.charter.com)
Date: April 10, 2012 05:14PM

Post your hosts file

Thanks to all who help.

Options: ReplyQuote


Sorry, only registered users may post in this forum.