Domain Configuration

In this guide you will learn how to set up domain in theme

Setting up main domain

After Installing theme setting up domain is very important. If you want to set theme on main domain then following changes are requires

Open .env file find APP_URL and change it's value to main domain eg: https://example.com

Next find MIX_THEME_FOLDER and change it's value to public. If you do not want to run on public just add ' / ' .

Setting up sub-domain

After Installing theme setting up domain is very important. If you want to set theme on subdomain then following changes are requires

Open .env file find APP_URL and change it's value to sub domain eg: https://subdomain.example.com

Next find MIX_THEME_FOLDER and change it's value to public

Setting up on sub folder

After Installing theme setting up domain is very important. If you want to set theme on folder domain then following changes are requires

eg : Folder is where your script is installed.

Open .env file find APP_URL and change it's value to main domain eg: https://example.com/folder

Next find MIX_THEME_FOLDER and change it's value to foldername/public

Last updated