Hi, how can i use domain to access the panel ?
currently, i am accesseing with ip address but i want to access with domain.
Please, guid me with full details.

You can go to Settings menu and set your desirable domain/subdomain on "Domain" textbox for accessing your panel. Also you can set SSL for this domain/subdomain if you want.

Don't forget to point your domain/subdomain to your server IP address.

    i try but its not work. "server not found"
    i added my subdomain.
    can you guild me with screen shot?
    how can i add subdomain to access my panel and point to server ip.
    please.

    Jimmy i try but its not work. "server not found"
    i added my subdomain.
    can you guild me with screen shot?
    how can i add subdomain to access my panel and point to server ip.
    please.

    You should add a A record on your DNS Manager to point your server IP. What DNS manager do you use for your domain?

      Jimmy its not work.
      and i am using aapanel DNS manager. i install this dns manager from app store of aapanel.
      my domain work perfectly but when i added my subdomain to access my panel. then i can't access my panel with my subdomain

        6 days later

        It works this way, but I recommend a better alternative which also supports ssl certs.

        In nginx, create a new server with the domain that you'd like to access the panel. Enable reverse dns, point to the ip:8888 and then force https for this nginx server. Your cert will validate too.

          3 months later

          Turbine I did exactly as you wrote here. the result is:
          "Sorry, You do NOT Have Permission to Access.
          Please check the domain!
          View domain bound: cat /www/server/panel/data/domain.conf
          Turn off access limit: rm -f /www/server/panel/data/domain.conf"
          The domain is set correctly at the path above.
          Can someone advise on this please?

            2 months later

            aaPanel_Jose This should be in the documentation. I've been struggling for hours until I saw your comment about using ONLY DNS in CF.

              Hi Jose;
              I was wondering if you can explain where and how I can make the domains name, go to their respective websites.

              I have two domain names and both DNS are pointing to my server. I have added the two website on the server and both domain are routed to the 403 page.

              I have put one of the domain in the default website option and that work for one but not for the other.

              Both domains are in port 80

              I have download the DNS manager and add the NS server from my hosting companies and no luck can you explain in detail how this is done.

                aaPanel_Jose just saying that your recommendation about you need to set it to dns only in CloudFlare should be included in the documentation since most people is using it.
                I was unable to use the domain until I changed from Proxied to DNS only in Cloudflare.
                BTW, thanks for that tip!

                a month later

                We are having all sorts of confusion because of a lack of proper documentation and instructions. I am going to show the whole process step by step here.

                1. Create a DNS record (A type) for your desired domain. Something like 'server.example.com'.
                2. Make sure you set it to "DNS Only" if you are using Cloudflare.
                3. Go to your aaPanel's settings page and disable SSL first. It will reload your aaPanel.
                4. Now go to settings and set the domain as 'server.example.com'. Click save which will reload your panel.
                5. Now enable panel SSL and make sure you set 'Let's Encrypt' and follow the process. It will verify and enable SSL and you're done.
                6. Now you can access the panel using server.example.com:panel-port/security-entrance.

                I hope this helps.

                Thanks!

                  18 days later

                  aaPanel_Jose ubuntu@vps-8b76dbed:~$
                  ubuntu@vps-8b76dbed:~$ rm -f /www/server/panel/data/domain.conf && bt reload
                  rm: cannot remove '/www/server/panel/data/domain.conf': Permission denied
                  ubuntu@vps-8b76dbed:~$

                  same problem sir

                    2 months later
                    Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com