Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Issues with virtual host



Threaded Mode | Print  

 Issues with virtual host, Can not find, how to create virtual host (1 Replies, Read 3838 times)
dmgpage
Group: Member
Post Group: Newbie
Posts: 2
Status:
I have Linux mint 19 and I want to create virtual host on address www.bill.local. I created new domain in localhost/ampps.

/etc/hosts file contains:
Quote
127.0.0.1 localhost
127.0.1.1 dell-pc
127.0.0.1  www.bill.local

/usr/local/ampps/apache/conf/extra/httpd-vhosts.conf file contains:
Quote
#DO NOT EDIT, CREATED BY AMPPS

#### www.bill.local VirtualHost ####
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All

ServerName www.bill.local
ServerAlias www.bill.local
ScriptAlias /cgi-bin/ "/usr/local/ampps/www/www.bill.local/backend/web/cgi-bin/"
DocumentRoot "/usr/local/ampps/www/www.bill.local/backend/web"
ErrorLog "/usr/local/ampps/apache/logs/www.bill.local.err"
CustomLog "/usr/local/ampps/apache/logs/www.bill.local.log" combined

####################################


Restarted apache, but nothing really works. When I enter www.bill.local in browser I get error "We can’t connect to the server at www.bill.local". Tested with "VirtualHost www.bill.local:80" and "VirtualHost *:80", but still no result. What I am missing?
IP: --   

Issues with virtual host
dmgpage
Group: Member
Post Group: Newbie
Posts: 2
Status:
I do not know, how to poste here httpd-vhosts.conf file content. This forum change file content no matter, how I enter it (facepalm)
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 11:24 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.023