1
I am trying to instal my existing local server with xampp. I setup apache to point to mywebsite.dev document root to /code/www/public. I get an error saying The webpage is not accessible. This website has the same address as an external website.
Instructions i m following:
Create a folder on your computer for the files
Edit your host file to add the site name
Edit httpd-vhosts to add the VirtualHost
Restart Apache using the XAMPP Control Panel
127.0.0.1 //Mywebsite.dev
<VirtualHost *:80>
DocumentRoot C:\Mywebsite\trunk\www\public
ServerName //Mywebsite.dev
<Directory C:\Mywebsite\trunk\www\public>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Do not use
– Patrick Mevzek – 2018-09-05T15:02:45.950.dev
as a TLD locally you will run in all sort of problems. It is a valid generic TLD, owned by Google. You should not invent names locally and hope they will work and not create collisions. Instead create a domain name and then just name your resources locally likesomething.dev.example.com
orsomething.internal.example.com
orsomething.private.example.com
, etc. About.DEV
: https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/