Aimeos with Hestia can't route to subdomains

Hello! Have install Aimeos system on VPS, wich work under Hestia. Add user, create composer, add shop catalog - all work perfect.
Aimeos can create stores at subdomains (like store1.site.com, store2.site.com…etc).

I have change all needed files like in instruction, but it don’t work.

I’ve write at aimeos forum - autor write:

Like said, when you use sub-domain routing, your main site must be www.kitaidar.ru and your web site is only available by www.kitaidar.ru and NOT kitaidar.ru. Use domain based routing if you want to be free what domains your marketplace and stores are using.

As I can understand, I need to change DNS settings. I have read hestia’s topics, reinstall hestia with Bind9, add my domain - but it stil don’t work


please, help me to understand where I need to dig?

You are missing // in front of the line subdomain: vendor1.yourdomain.com

Causing it to be invalid php code

I have total reinstall VPS, create new configure - but routings to 3-rd domains still don’t work. I have try at 2 others domains.
Don’t sleep some days, but just now think about: maybe I need install only apache2 (without Nginx)?

With HestiaCP don’t work, only work at clear OS. Please, help me to understand this:

  1. I have write A-Name: “*.site.com” to my server IP

  2. Main “site.com” working. But if I try to open “example1.store.com” or “store1.site.com” - there are open default Hestia’s index.php:

I can’t add “*.site.com” at users in Hestia.

Please, help to add route all subdomains to one catalog (where my main site).
Without Hestia all working good.

Add *.domain.com as alias and it should work

2 Likes

YES! Thank you a lot!!!

Now work fine:

offtop: now need Wildcard SSL. How I know - there was Let’s&cript’s WC (for starting) - can you answer, please: can I use Heastia for generate WC? Or need to generate by commands in OS?

You can get a paid ssl for wildcard ssl or use Hestia DNS for generating a wild card ssl … as it requires DNS verifications

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.