I recently set up a website with Apache HTTP web server. My problem is that when I visit http://localhost or http://192.168.1.205 (the local IP address assigned statically to my computer) the website loads just fine. However, when the site is accessed from another device in my LAN such as my iPhone or a device outside of the LAN, a 403 forbidden error is shown. I tried placing a .htaccess file in the root directory of my site (C:\wamp64\www) with the following code.
order allow,deny allow from all Options +Indexes
However, this didn't work. I'm using WAMP Server version 3.1.4 on a 64-bit Windows 10 installation. My Apache version is 2.4.35.