Guidance Needed!

aidanoh

Verified User
Joined
Jan 15, 2023
Messages
9
Hey everyone,
I am setting up Direct Admin. My main use for it will be having 20ish people running their websites/emails/databases on my panel.

Point 1:
I purchased an additional 2 IPs when buying my machine thinking I needed them for name servers. The panel is already setup but no configuration. What do I actually need to setup to get the environment I need? Do I need name servers and if so how do I create them when my domain on namecheap has dns servers linked to cloud flare.


Point 2:
I also currently access my panel via <My IP>:2222. I want to make it so I can set it up on <subdomain>.<domain> instead of direct IP access. Anyone got an ideas? Ubuntu 22

Many thanks,
Aidan
 
I'm interested in the opinions of others, but I don't run name servers. I use my registrar's servers. So in this case you could just use namecheap's servers. I guess there is an advantage since it sounds like you're hosting for others too. I thought during the DA installation process you specified the subdomain where you access DA, but I've only done it once and that was nearly two years ago.

The good news is there is a lot of documentation here:

 
Point 1:
Directadmin is not required to have a nameserver ( I think ), user can point domain DNS to server IP
If you want to have nameserver.
- First, you go to Administrator Setting -> Server setting tab. You set nameserver. Ex: ns1.domain.com and ns2.domain.com
- Second, you go to IP Management, add second IP (if not added yet)
- Third, go to cloudflare -> DNS, you set A record for ns1 and ns2 point to the corresponding IP
- Next, go to namecheap -> Manage domain -> Advanced DNS -> PERSONAL DNS SERVER -> Click Add Nameserver -> enter ns1 and it's IP
- Final: Wait, about 30 minutes (maybe sooner)
Done
 
@mhsolutions

Point 2: I set the config value, restarted DA & the server and I setup the SSL cert but when I go to the link nothing happens.
It says "webserver is functioning normally". On Cloudflare I setup the subdomain to point to the main ipv4 of the panel and not routed through cloudflare's proxy.

Point 1 : I will look into this once I get the host name working
 
@mhsolutions

Point 2: I set the config value, restarted DA & the server and I setup the SSL cert but when I go to the link nothing happens.
It says "webserver is functioning normally". On Cloudflare I setup the subdomain to point to the main ipv4 of the panel and not routed through cloudflare's proxy.
Sorry, i forget you want remove port, but i think you shoud using port. You can login: sub.domain.com:2222.
If you want using other port, you can follow https://forum.directadmin.com/threads/how-to-change-default-port-2222.51751/
 
Back
Top