Elxis CMS Forum
Support => FAQs => Topic started by: datahell on March 04, 2008, 23:51:24
-
We published a guide for how you can set up a local working enviroment for Elxis CMS with apache and virtual hosts. This guide shows you how you can run locally multiple sites that can be access like this: http://mysite.loc
Read the full guide (https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html)
-
What about having apache listening on port 8080 (or other) ?
-
Just replace 80 with 8080 in apache configuration files and make sure the port in open and not blocked by a firewall.
-
In general when using alternate port for apache (or IIS) the steps to support virtual hosts that you describe are totally correct but in the browser address bar the port information should always exist.
For example, if we setup a virtual host named "elxis.loc" and we have an apache listening on 8080, we should type http://elxis.loc:8080 and of course modify the configuration.php properly
Consider the case closed
Thanx
-
Perfect article... I just did it!
-
Note that if you use Vista or Windows 7, in order to be able to modify the hosts file you have to run notepad as administrator and then open the hosts file.
Programs list -> notepad -> right click -> "run as administrator"
On notepad -> open -> C:/..../hosts
save when finish
-
Yes right notice this.
I tried to save this host file from phpDesigner and it didn't leave me to do this.
When i opened it with notepad ( i am administrator user ) then i did the work.! ;)