Hi.
Can you please help. Tried everything.
Am not port forwarding, although I did try port 80 as p.f.
Am running on a mac.
Need to view the website over lan. Am trying both server name/website name and ip of local server and am getting error 404. website works fine
on xampp local box with website name. Ex. xyz.com. but when I tried the ip of the local server even on the local server I get 404.
/etc/hosts config
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 xyz.com
or even with
10.0.1.14 xyz.com
hosts
<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/"
ServerName xyz.com
AllowOverride All
Options Indexes FollowSymLinks
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ErrorDocument 404 /error-pages/404.html
ErrorDocument 500 /error-pages/500.html
ErrorDocument 503 /error-pages/503.html
ErrorDocument 504 /error-pages/504.html
</VirtualHost>
https.conf
<Directory "/Applications/XAMPP/xamppfiles/cgi-bin">
AllowOverride All
Options None
Require all granted
</Directory>
Thanks!!