• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Xampp virtual hosting Rep

Calon

Experienced Member
Joined
Feb 6, 2009
Messages
1,070
Reaction score
21
i'm trying to add Virtual hosting to my xampp and in Xampp/Apache/httpd.conf when i add

PHP:
# Ensure that Apache listens on port 80
Listen 80

# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80

<VirtualHost azura.sytes.net:80>
DocumentRoot "C:\xampp\htdocs"
ServerName www.azura.sytes.net

# Other directives here

</VirtualHost>

<VirtualHost world27.sytes.net:80>
DocumentRoot "C:\xampp\htdocs2"
ServerName www.world27.sytes.net

# Other directives here

</VirtualHost>
Following the
VirtualHost Examples - Apache HTTP Server

i cant start the Apache from Xampp Control
.... Rep
 
Code:
# Ensure that Apache listens on port 80 
Listen 80 

# Listen for virtual host requests on all IP addresses 
NameVirtualHost *:80 

<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs" 
ServerName azura.sytes.net 

# Other directives here 

</VirtualHost> 

<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs2" 
ServerName world27.sytes.net 

# Other directives here 

</VirtualHost>
 
Code:
# Ensure that Apache listens on port 80 
Listen 80 

# Listen for virtual host requests on all IP addresses 
NameVirtualHost *:80 

<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs" 
ServerName azura.sytes.net 

# Other directives here 

</VirtualHost> 

<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs2" 
ServerName world27.sytes.net 

# Other directives here 

</VirtualHost>

what i replace * with ?
 
Back
Top