OpenLiteSpeed WordPress Docker Container

k0fein

New Member
#1
I use VirtualBox on Windows 10 and Ubuntu 20.04
I have been trying to create a domain and virtual host in docker with command:

bash bin/domain.sh -A mysite.com

using this guide: litespeedtech/openlitespeed - Docker Image | Docker Hub

but site works only on localhost folder when i use:
bash bin/demosite.sh

  • Domain name DNS record is set to server IP.
  • Ports on router are redirected to virtual machine IP.
What I need to do to make it works with a new virtual host and domain name?:rolleyes:
Tell me please if it is possible to implement. :unsure:
 

Cold-Egg

Administrator
#2
Because the demosite.sh will import .env file. Before running the "bash bin/demosite.sh " command, please edit the .env file with your domain name DOMAIN and MYSQL_DATABASE name.
 
Top