Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
FAQs
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Local Apache and virtual hosts
« previous
next »
Print
Pages: [
1
]
Author
Topic: Local Apache and virtual hosts (Read 29313 times)
datahell
Elxis Team
Hero Member
Posts: 10356
Local Apache and virtual hosts
«
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
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
epaz
Newbie
Posts: 29
Re-inventing the wheel may lead to a round one!
Re: Local Apache and virtual hosts
«
Reply #1 on:
March 05, 2008, 11:05:18 »
What about having apache listening on port 8080 (or other) ?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Local Apache and virtual hosts
«
Reply #2 on:
March 05, 2008, 12:37:32 »
Just replace 80 with 8080 in apache configuration files and make sure the port in open and not blocked by a firewall.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
epaz
Newbie
Posts: 29
Re-inventing the wheel may lead to a round one!
Re: Local Apache and virtual hosts
«
Reply #3 on:
March 05, 2008, 12:47:13 »
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
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Local Apache and virtual hosts
«
Reply #4 on:
February 08, 2010, 14:08:04 »
Perfect article... I just did it!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Local Apache and virtual hosts
«
Reply #5 on:
February 08, 2010, 19:05:17 »
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
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Local Apache and virtual hosts
«
Reply #6 on:
February 08, 2010, 19:12:32 »
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.!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
FAQs
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Local Apache and virtual hosts