Pointing subdomain to Ajenti

July 15, 2015 1.9k views
Configuration Management DNS Ubuntu

I read the tutorial on how to install Ajenti (https://www.digitalocean.com/community/tutorials/how-to-install-the-ajenti-control-panel-and-ajenti-v-on-ubuntu-14-04) but I am having trouble getting "panel.mydomain.com" to point to it. I created a Website in Ajenti V and "mydomain.com" goes to where it should, but I don't know how to create this subdomain.

Thank you for any help!

2 Answers

Hi Terri,

Have you looked over this howto:
https://www.digitalocean.com/community/tutorials/how-to-install-the-ajenti-control-panel-and-ajenti-v-on-ubuntu-14-04 It shows how to setup the panel for Ajenti

if you want just to create a subdomain create a new A record, if you want panel.mydomain.com for example create an A record with the first section as 'subdomain' and the second section as the IP address you want to target (your droplet)

Ajenti is an open source, web-based control panel that can be used for a large variety of server management tasks. It can install packages and run commands, and you can view basic server information such as RAM in use, free disk space, etc. All this can be accessed from a web browser. Optionally, an add-on package called Ajenti V allows you to manage multiple websites and email accounts from the same control panel.

Hello, I wrote that tutorial! :)

You tried browsing to https://panel.example.com:8000 correct?

If you did, make sure you created the panel subdomain in DigitalOcean, it was one of the prerequisites. If you didn't read: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean

If you've already done that, you can try setting the hostname for Ajenti within the Ajenti control panel. Go to your Ajenti control panel through either your IP or whatever domain you have set up, and in the sidebar, press Configure. Under the second section (HTTP Server) change whatever is in the Host text box to panel.example.com. Then click the Save button at the bottom of the screen, and then click the Restart button at the bottom of the screen.

I hope that helps!

by Etel Sverdlov
This article walks you through setting up the DNS for your site. The tutorial includes steps to set up an A records, point your nameservers, and provides some information about MX records.
Have another answer? Share your knowledge.