How can i add sub-domain and connect it with directory. for example - demo.xyz.com connects with www.xyz.com/demo.
When i create sub-domain it is not conneting with things which i want.
example- i have added domain schoolspike.com and then i click on it and go to configuration section -> i am confused in because there two option 1. Domain Manager 2. sub-directory binding.
When i choose 1 "domain manager" then it redirects me to schoolspike.com and when i use demo.schoolspike.com then it redirects me to demo page.
i have deleted the sub-domain page... it's working after deleted the sub-domain.
i want please clear it that how can i do following things
1. Add sub-domain and connects it with directory.
2. how can i configure dns for it

    In subdirectory binding, i want to bind subdirectory which is inside the directory. for example www.collegespike.com/company/hr -> hr.collegespike.com.
    but I am not able to find directory inside the directory, for example, collegespike.com/company/hr .
    I want hr to bind with sub-domain hr.collegespike.com. How can I achieve this. Please Help.

      dhyaneshwar

      Does your file directory exist in this directory? Or is it just the url path?

      If it is a url path you can use redirection to achieve

      yes this file directory exists in this directory.
      for example->
      xyz/yx i have to point yx but in subdirectory binding it only show xyz.

        dhyaneshwar
        aaPanel only supports the sub-directories under the root directory as sub-directories. If you need to go deeper, you can modify the configuration file to achieve the purpose.

        First add a subdirectory

        Find your subdirectory configuration in the configuration file, then add a deeper directory on the root line

          3 months later
          4 days later

          aaPanel_Jose
          I have updated to the latest version. I even tried removing aapanel then reinstalling however I still could not create the binding subdirectories

          Thanks admin. Everything is working normally again.

          2 years later