Forum » Izdelava spletišč » FOX server in virtualna domena?
FOX server in virtualna domena?
Tito ::
Kako narediti na fox serverju več virtualnih domen, da se to vem sam me zanima kako! Na dyndns.org imam več domen in naj bi vsaka domena pripeljala do svojega root direktorija, kako se to napravi ????
Hvala!
Hvala!
pivmik ::
ravno te dni sem se neki jajcal s Apache Web Serverjem, nardi to:
1.) Inštaliraj Aache
2.) Nastavi nastaviteve
3.) Odpri conf\httpd.conf v beležnici in pojdi na dno dokumenta in editiraj po tvojih potrebah tole(odstrani znake # pred vsako vrstico, od vključno do vključno ):
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
N vem pa kaj pomeni una zvezdica * pri, vrjetno treba vstavit števliko, ali kaj takega.
Več si preberi na http://www.apache.org/docs/vhosts/
mislim, da je to to
Povej če ti dela in kako si naredil.
1.) Inštaliraj Aache
2.) Nastavi nastaviteve
3.) Odpri conf\httpd.conf v beležnici in pojdi na dno dokumenta in editiraj po tvojih potrebah tole(odstrani znake # pred vsako vrstico, od vključno
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
N vem pa kaj pomeni una zvezdica * pri
Več si preberi na http://www.apache.org/docs/vhosts/
mislim, da je to to
Povej če ti dela in kako si naredil.
LP, Gregor GRE^
SLOWWWeb.net ::
Misliš kaj takega-sam poprej odstrani v vsaki vrstici * in vpisi svoje podatke >:D .
#
#NameVirtualHost 127.0.0.1
*
*ServerName nekaj.domenca.com
*DocumentRoot d:/wwwroot/domena/nekaj
*
*NameVirtualHost 127.0.0.1
*
*ServerName www.domena.com
*DocumentRoot d:/wwwroot/domena
*
*
*ServerName www.domena.net
*DocumentRoot d:/wwwroot/domenanet
*
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
#
#NameVirtualHost 127.0.0.1
*
*ServerName nekaj.domenca.com
*DocumentRoot d:/wwwroot/domena/nekaj
*
*NameVirtualHost 127.0.0.1
*
*ServerName www.domena.com
*DocumentRoot d:/wwwroot/domena
*
*
*ServerName www.domena.net
*DocumentRoot d:/wwwroot/domenanet
*
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
__________________________________________________
WEBhosting / WEBdesign / WEBdomain / Security solutions
BREZPLAČNI marketinški nasveti za podjetja in www strani
WEBhosting / WEBdesign / WEBdomain / Security solutions
BREZPLAČNI marketinški nasveti za podjetja in www strani
Tito ::
Sm probal pa mi je zdavnaj že ratalo, zdej pa sem probal še enkat pa mi ne dela in mi dela samo en root... obe domeni prpeljeta na isti root neglede kaj jima nastavim...
NameVirtualHost podgana.com
ServerAdmin matic@podgana.com
ServerName podgana.com
DocumentRoot /www
ErrorLog logs/podgana.com-error_log
CustomLog logs/podgana.com-access_log common
NameVirtualHost generals-cnc.com
ServerAdmin matic@podgana.com
ServerName generals-cnc.com
DocumentRoot /www/general
ErrorLog logs/generals-cnc.com-error_log
CustomLog logs/generals-cnc.com-access_log common
NameVirtualHost podgana.com
ServerAdmin matic@podgana.com
ServerName podgana.com
DocumentRoot /www
ErrorLog logs/podgana.com-error_log
CustomLog logs/podgana.com-access_log common
NameVirtualHost generals-cnc.com
ServerAdmin matic@podgana.com
ServerName generals-cnc.com
DocumentRoot /www/general
ErrorLog logs/generals-cnc.com-error_log
CustomLog logs/generals-cnc.com-access_log common
Zgodovina sprememb…
- spremenil: Tito ()
Ziga Dolhar ::
Preveri še to vrstico:
#
# Use name-based virtual hosting.
#
NameVirtualHost *
Si odkomentiral NameVirtualHost? MORA biti odkomentirano.
#
# Use name-based virtual hosting.
#
NameVirtualHost *
Si odkomentiral NameVirtualHost? MORA biti odkomentirano.
https://dolhar.si/
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Inštalacija webserverja na linuxuOddelek: Omrežja in internet | 914 (672) | sarma832 |
» | Apache virtualhostOddelek: Omrežja in internet | 1558 (1287) | pegasus |
» | Fedora Core 2 in Apache problemOddelek: Izdelava spletišč | 1280 (1167) | atlet |
» | dve spletni strani??Oddelek: Izdelava spletišč | 2407 (1956) | MRB0rYS |
» | VirtualHost oz. navidezne domene v apacheOddelek: Izdelava spletišč | 2698 (2396) | Jackass |