rahul980170
If your domain name is resolved through cloudflare, please check if the proxy is enabled, you need to set it to dns only
how can i use domain to access the panel ?
- Edited
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.
- Edited
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?
- Edited
allvlad
please exeucte rm -f /www/server/panel/data/domain.conf && bt reload
in your terminal
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.
luchorengo
Which problem are you bothered by?
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.
angelscopilot
Do you want to point to a website when you visit either of the two domains?
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!
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.
- Create a DNS record (A type) for your desired domain. Something like 'server.example.com'.
- Make sure you set it to "DNS Only" if you are using Cloudflare.
- Go to your aaPanel's settings page and disable SSL first. It will reload your aaPanel.
- Now go to settings and set the domain as 'server.example.com'. Click save which will reload your panel.
- 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.
- Now you can access the panel using server.example.com:panel-port/security-entrance.
I hope this helps.
Thanks!
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
allvlad help me also please same problem
sultan 2. you don't need to set "DNS Only", proxy is fine.
Just use the following any port numbers on aaPanel > Panel port :
HTTPS ports supported by Cloudflare:
443
2053
2083
2087
2096
8443
aaPanel_Jose This one solved my problem. Thank you .
AryanRaikwar use sudo su - for first
- Edited
I am having the exactly same issue and neither of the sollutions worked out for me. Unable to access my aapanel trought panel.mydomain.com , neither with the explicit port nor in any other way but with the direct ip of my server.
Edit: Thotght I found the sollution installing the SYS firewall and inserting 7800 port on the security tab, but even that worked out for me.
aaP_lucaaamaral
Hello, have you solved the problem?
If not, check whether the domain name resolution points to the IP address of the server and the proxy is not enabled
Check if the full link access panel is used
- Edited
aaP_usanuman this works for me i am using cloudflare what i did is below and 100% working.
- Create A record in cloudflare input server IP
- Generate Client certificate in cloudflare then copy (Key & Certificate (in pem format))
- Go to AAPANEL enable cloudflare supported PORT as written above.
- AAPANEL> setting enter domain or subdomain address
5.Enable SSL select i have certificate and paste the cloudflare in step2 and save.
Hope this will help others who bump into this kind of situation.
I have the same problem. I did all of the above solutions but it doesn't work for me. Unable to set domain for accessing panel
aaP_agilsetiawan772
me too, actually I've been trying for couple years already
I tried everything with no luck.
I wonder how important is to set the domain and SSL for the panel if I'm the only one using it,,, any thoughts?
Thanks.