Access aaPanel through domain

by Daniel Pham
Published: Updated:

In this article, I will guide you to set up aaPanel access through domain. Once you have installed aaPanel, you will access it via a link like https://192.168.10.10:8888/abcxyz. This is really quite inconvenient, isn’t it? For those of you who are not technology experts, remembering these numbers is not easy.

To change that, I will set up panel access through the domain. In the example of this article, I will set the domain to https://aapanel.devopslite.com:9999/urlogin. It’s easier to remember, right? To get the :9999/urllogin part, you can review this article.

Create DNS records for domain panel

Well, the first thing is you must own a domain. You can buy a domain name you like at domestic service providers such as TenTen, PAVietnam,…

Next, go to your domain administration page and create a DNS record with the following content.

NAMETYPEVALUE
aapanelA15.165.76.22

The result will look like the image below.

Access aaPanel through domain
Create domain DNS records for aaPanel.

After you have created the DNS record. Please wait about 5-10 minutes. Normally, current DNS services will update records to the internet quite quickly, sometimes only about 1-2 minutes.

You can check by visiting https://mxtoolbox.com/DNSLookup.aspx and entering the subdomain you just created. As a result, if the check mark is green as shown below, the DNS record was successful.

Access aaPanel through domain
Check DNS records with MXToolbox.

Set up aaPanel access through domain

Now log in to the panel and select the Settings menu on the left. In the Domain box, enter your subdomain.

Access aaPanel through domain
Enter domain for aaPanel.

Then click Save at the bottom of the window to save. The panel will now automatically reload with the URL of the domain you just entered. After you enter your admin account, the window below appears, you don’t need to be afraid.

Access aaPanel through domain
aaPanel automatically reloads after entering the domain.

That window is because the URL is missing the Security Entrance part. Now just add it to the path. In the example, I will type the path http://aapanel.devopslite.com:9999/urlogin. The result is as shown below, you will notice that the left corner at the top of the link says Not secure.

Access aaPanel through domain
Access domain aaPanel with HTTP.

At this point, you can access aaPanel by domain. The thing is that the panel is running HTTP, which is an unencrypted plain-text web protocol. You need to enable HTTPS to ensure web data encryption when accessing the panel.

Enable SSL for aaPanel domain

To access the aaPanel domain via HTTPS, go to the Settings menu on the left side of the panel.

Drag and select the Panel SSL button as shown below.

Access aaPanel through domain
Enable SSL Panel for aaPanel.

A new window will appear, choose:

  • Cert Type: Let’s Encrypt
  • Admin E-Mail: enter your email address. The purpose of this section is because the SSL certificate you use is issued by the Let’s Encrypt organization. The SSL certificate will expire every 90 days and will be automatically renewed by the panel, you do not need to do anything to renew. Before the SSL certificate expires, Let’s Encrypt will send you a notification via this email address.
  • I already know…: just select it and you’re done.
Access aaPanel through domain
Create SSL certificate for domain aaPanel.

Once done, click Submit, next the panel will display a small window, then click Confirm. The process of activating SSL for the domain panel only takes about 15-30 seconds to complete.

Once the SSL is created, the panel will automatically reload the page again. And this time, when you log in to the panel, you will see the URL as https://aapanel.devopslite.com:9999/config. You will notice that at the top of the URL in the browser there will be a lock icon, so it is successful.

Access aaPanel through domain
Access aaPanel via domain with HTTPS.

Conclusion

With this article, I have guided you to successfully set up aaPanel access through your domain. At the same time, I have also guided you to enable SSL for the domain panel to be more secure. In the next articles about aaPanel, I will guide you to add other features of the panel.

0 0 votes
Article Rating

You may also like

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

2
0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.