• Support
  • OpenLiteSpeed - Access websites by localhost/local network

Hi

Is there any way to access hosted websites by localhost (domain is not ready)

My PC is 192.168.1.10
Server IP is 192.168.1.20

In hosts file i have added:

192.168.1.20 website.com

but this is not work:

  • normal index.html file is working
  • but WP site gives 404

Uhm I had a similar issue yesterday
the static html wasn´t working, what I did erased the website and create again
and then get an ssl certificate (which may be tricky for you since you have no domain (maybe a self signed certificate?)

the way to access it should be it should be 192.168.1.20:80
there it should be working

seems like the new Nginx or aapanel require by default to connect through SSL
at least it was my error

it gave me error 404, website not reachable, server took too long to respond etc
and it all got fixed by deleting the website creating a new one and later adding a certificate , then force ssl
and voalá!!! working

hope it helps