richfieldmall 0 Report post Posted April 1, 2017 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? Quote Share this post Link to post Share on other sites
richfieldmall 0 Report post Posted April 1, 2017 P.S. I see tutorials on altering Apache files "by hand" but am concerned this could affect the Uniform Server's performance, or that I will confuse the /www and /vhosts in Uniform server's setup (vs. the seemingly random naming of other wamp/xampp/what have you setups out there), or there is already something in the interface to do this, which I am too much of a newbie to recognize as such. Any helps, including URLs, are most appreciated. Quote Share this post Link to post Share on other sites
richfieldmall 0 Report post Posted April 4, 2017 Is there anyone on this forum? Quote Share this post Link to post Share on other sites
Zerolinks 0 Report post Posted July 5, 2017 Hellow, try to do like this For example: Your server hosted on IP: 192.168.0.10 Enable virtual host in httpd.conf ##====== VIRTUAL HOST =========== #To enable uncomment next line Include conf/extra/httpd-vhosts.conf Edit httpd-vhosts.conf # Case 1 : if Access from any local IP though 192.168.0.xx by taping http://192.168.0.10 on browser <VirtualHost _default_:${AP_PORT}> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName ${US_SERVERNAME} ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> # Case 2: If access from any local ip though a virtual server's name # For each local client, # You need to bind your virtual server's name with your server IP in Windows hosts file # Open Notepad as administrator and load C:\Windows\System32\drivers\etc\hosts # Add after the last line # 192.168.0.10 my-website # Now each client from local ip 192.168.0.xx can access on browser by http://my-website <VirtualHost *:80> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName my-website ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> Restart your Apache.Now you can access to your site from your LAN by server IP ( Hope it will help even to late Quote Share this post Link to post Share on other sites
simicartan 0 Report post Posted July 26, 2018 Hellow, try to do like this For example: Your server hosted on IP: 192.168.0.10 Enable virtual host in httpd.conf ##====== VIRTUAL HOST =========== #To enable uncomment next line Include conf/extra/httpd-vhosts.conf Edit httpd-vhosts.conf # Case 1 : if Access from any local IP though 192.168.0.xx by taping http://192.168.0.10 on browser <VirtualHost _default_:${AP_PORT}> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName ${US_SERVERNAME} ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> # Case 2: If access from any local ip though a virtual server's name # For each local client, # You need to bind your virtual server's name with your server IP in Windows hosts file # Open Notepad as administrator and load C:\Windows\System32\drivers\etc\hosts # Add after the last line # 192.168.0.10 my-website # Now each client from local ip 192.168.0.xx can access on browser by http://my-website <VirtualHost *:80> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName my-website ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> Restart your Apache.Now you can access to your site from your LAN by server IP ( Hope it will help even to late i did as you said but still doesnt work for me. some one?? Quote Share this post Link to post Share on other sites