Must mention something here to. I mostly operates thw web computer as a server and connects trough the local network. I have made manual changes to my laptops host file aswell to make this work. There I have added the local ip for the "webserver" and connected that to a domain name so I can operate the web by usin a doman name.
What I have added to my laptop is: 192.168.1.39 web.prosite.no
By doing this I have also been able to connect to the webs trough the internet. When a web is finished I make a backup and restores it at their new home and domain name.
conf file:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName dev
DocumentRoot "d:/wamp64/www/ps"
<Directory "d:/wamp64/www/ps/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName Test
DocumentRoot "d:/wamp64/www/test"
<Directory "d:/wamp64/www/test/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName Test2
DocumentRoot "d:/wamp64/www/test2"
<Directory "d:/wamp64/www/test2/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName YF
DocumentRoot "d:/wamp64/www/YF"
<Directory "d:/wamp64/www/YF/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName afys
DocumentRoot "d:/wamp64/www/afys"
<Directory "d:/wamp64/www/afys/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName asdyr
DocumentRoot "d:/wamp64/www/asdyr"
<Directory "d:/wamp64/www/asdyr/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName Skoklefald
DocumentRoot "d:/wamp64/www/skoklefald"
<Directory "d:/wamp64/www/skoklefald/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wpBasis
DocumentRoot "d:/wamp64/www/wpbasis"
<Directory "d:/wamp64/www/wpbasis/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName ByggT
DocumentRoot "d:/wamp64/www/byggt"
<Directory "d:/wamp64/www/byggt/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName askarate
DocumentRoot "d:/wamp64/www/askarate"
<Directory "d:/wamp64/www/askarate/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName Allidrett
DocumentRoot "d:/wamp64/www/allidrett"
<Directory "d:/wamp64/www/allidrett/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName Dikter
DocumentRoot "d:/wamp64/www/dikter"
<Directory "d:/wamp64/www/dikter/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName BHVF
DocumentRoot "d:/wamp64/www/bhvf"
<Directory "d:/wamp64/www/bhvf/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName PCI
DocumentRoot "d:/wamp64/www/pci"
<Directory "d:/wamp64/www/pci/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName ms
DocumentRoot "d:/wamp64/www/ms"
<Directory "d:/wamp64/www/ms/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName binders
DocumentRoot "d:/wamp64/www/binders"
<Directory "d:/wamp64/www/binders/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName Marshmallow
DocumentRoot "d:/wamp64/www/marshmallow"
<Directory "d:/wamp64/www/marshmallow/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName Fantin
DocumentRoot "d:/wamp64/www/fantin"
<Directory "d:/wamp64/www/fantin/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
<VirtualHost *:80>
ServerName mm
DocumentRoot "d:/wamp64/www/mm"
<Directory "d:/wamp64/www/mm/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName Elise
DocumentRoot "d:/wamp64/www/elise"
<Directory "d:/wamp64/www/elise/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName JML
DocumentRoot "d:/wamp64/www/jml"
<Directory "d:/wamp64/www/jml/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName DR
DocumentRoot "d:/wamp64/www/dr"
<Directory "d:/wamp64/www/dr/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<------end of file------>
HOSTS file:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 dev
::1 dev
127.0.0.1 Test
::1 Test
127.0.0.1 Test2
::1 Test2
127.0.0.1 YF
::1 YF
127.0.0.1 afys
::1 afys
127.0.0.1 asdyr
::1 asdyr
127.0.0.1 Skoklefald
::1 Skoklefald
127.0.0.1 wpBasis
::1 wpBasis
127.0.0.1 ByggT
::1 ByggT
127.0.0.1 localhost
::1 localhost
127.0.0.1 askarate
::1 askarate
127.0.0.1 Alliett
::1 Alliett
127.0.0.1 Dikter
::1 Dikter
127.0.0.1 BHVF
::1 BHVF
127.0.0.1 PCI
::1 PCI
127.0.0.1 ms
::1 ms
127.0.0.1 binders
::1 binders
127.0.0.1 Marshmallow
::1 Marshmallow
127.0.0.1 Fantin
::1 Fantin
127.0.0.1 mm
::1 mm
127.0.0.1 Elise
::1 Elise
127.0.0.1 JML
::1 JML
127.0.0.1 DR
::1 DR
<----- end of file --->
Edited 1 time(s). Last edit at 05/24/2019 01:41PM by RiggsFolly.