givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
241 stars 49 forks source link

Add support for subdomains #10

Open Cohejh opened 1 year ago

Cohejh commented 1 year ago

I have installed vvveb on a subdomain, but this means that it breaks, it redirects to my original page. Also it does not allow the changing of the name, and themes fail to load. Clicking on the logo on my page redirects to vvveb.com. Could this be fixed?

givanz commented 1 year ago

Installing on subdomain should work without issues, default site matches any subdomain.domain.tld the value for host in vvveb/config/sites.php is ..* having wildcard for subdomain domain and tld.

I think the issue is with the configuration of server/host in your webserver in virtual host for apache or /etc/nginx/sites-available for nginx. You need to set the host value with desired subdomain.domain.com for the configured vvveb site/virtual host.

Do you have issues with changing the name in sites list or in settings? There was a validation bug in settings that was fixed.