Sub domain not working

Hello! I have a website https://mamazhanna.ru. I would like to make a sub-domain for other cities - samara.mamazhanna.ru. I created a new child domain in mamazhanna.ru/public_html/samara.mamazhanna.ru and address for sub-domain website - https://mamazhanna.ru/samara.mamazhanna.ru.
I need next address: samara.mamazhanna.ru. How do this work?

Welcome @iluha199116 Happy you are here

Can you confirm what you want to achieve?

Say https://mamazhanna.ru is your primary domain.

To create sub-domains from the primary domain you achieve this through the following ways:

  1. Create a website with domain samara.mamazhanna.ru
  2. Create a child domain samara.mamazhanna.ru

Hello! Nice to meet you!
i created a child domain. Source of the website samara.mamazhanna.ru in folder - mamazhanna.ru/public_html/samara.mamazhanna.ru and my website open in link:https://mamazhanna.ru/samara.mamazhanna.ru/
But i would like website opens in link https://samara.mamazhanna.ru

if you added as child domain you can open this as you like the subdomain what is the issue in opring?

Can i make link https://samara.mamazhanna.ru in this method?

Yes. you can create a website the CyberPanel way. Just add samara.mamazhanna.ru in Domain name field.

See here: Sub domain not working - #2 by josephgodwinke

Avoid this kind of path do this instead:

Say mamazhanna.ru is at /home/mamazhanna.ru/public_html

Set samara.mamazhanna.ru as /home/samara.mamazhanna.ru/ so that you separate both websites completely for better management

I set as /home/samara.mamazhanna.ru/
But link not working.


But i can’t add new website samara.mamazhanna.ru if i also added child domain.

Do not edit the VHOST that way. This can be easily done the recommended CyberPanel way

Please if you can do this:

  1. Delete samara.mamazhanna.ru and all its child domains and mailboxes
  2. Go to https://SERVER_URL/websites/createWebsite
  3. In Domain Name field add samara.mamazhanna.ru



I created website samara.mamazhanna.ru, but link don’t works

I created website, but where i change as /home/samara.mamazhanna.ru/

Can you delete samara.mamazhanna.ru website and follow the instructions here Sub domain not working - #2 by josephgodwinke