Jump to content


Member Since 31 Mar 2017
Offline Last Active Apr 29 2017 12:24 AM

Topics I've Started

What is wrong with my vhosts settings?

12 April 2017 - 02:25 PM

What have I done wrong with my vhosts setup? 

The first site I set up is running well in vhosts. No problems other than occasional crashes (starwarswisdom.com).  


Then, to develop a second wordpress site (richfieldmall.com), I created this second website on C:\UniServerZ\www.  

Then I created a new vhosts location via the controller interface (stop Apache, then go Apache > Apache vhosts > Create... so easy!).


Then, I cut and pasted the site over into the new, corresponding directory under C:\UniServerZ\vhosts.


Was that the wrong way to do that?


My current configuration points traffic for the second site, richfieldmall.com, toward the default Uniform Server test page, under /www, instead of over to /vhosts



My settings are as follows:




# This file provides server security limiting access to the localhost only.
# Comment next four lines to deactivate. (Allows external access)

#Order Deny,Allow
Allow from all
#Allow from
#Allow from ::1

# To allow execution of cgi scripts in this directory uncomment next two lines.

AddHandler cgi-script .bat .exe .pl .cgi
Options +ExecCGI +FollowSymLinks

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress


<VirtualHost _default_:80>
  DocumentRoot C:/UniServerZ/www
  ServerName localhost
  ErrorLog "logs/error.log"
  CustomLog "logs/access.log" common

<VirtualHost *:80>
 ServerAdmin webmaster@starwarswisdom.com
 DocumentRoot C:/UniServerZ/vhosts/starwarswisdom
 ServerName starwarswisdom.com
 ServerAlias www.starwarswisdom.com *.starwarswisdom.com
 ErrorLog logs/starwarswisdom.com-error.log
 CustomLog logs/starwarswisdom.com-access.log common
 <Directory "C:\UniServerZ\vhosts\starwarswisdom">
   Options Indexes Includes
   AllowOverride All  
   Require all granted

<VirtualHost *:${AP_PORT}>
 ServerAdmin webmaster@richfieldmall.com
 DocumentRoot ${US_ROOTF}/vhosts/richfieldmall
 ServerName richfieldmall.com
 ServerAlias www.richfieldmall.com *.richfieldmall.com
 ErrorLog logs/richfieldmall.com-error.log
 CustomLog logs/richfieldmall.com-access.log common
 <Directory "${HOME}\vhosts\richfieldmall">
   Options Indexes Includes
   AllowOverride All  
   Require all granted

If any other information is needed, please let me know. Advice, suggestions, links -- any info is welcome!


How to access vhosts over LAN?

31 March 2017 - 08:52 PM

How can I access my sites from other computers on the same LAN?

http://192.168.0.### (the server's internal IP address) shows me the splash/welcome screen in the C:\UniServerZ/www/ directory.  

But how can I view C:\UniServerZ/vhosts/my-website?