{"id":5932,"date":"2020-11-21T20:17:23","date_gmt":"2020-11-21T14:47:23","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5932"},"modified":"2026-11-19T14:48:05","modified_gmt":"2026-11-19T09:18:05","slug":"how-to-add-a-new-domain-in-the-directadmin-panel","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-add-a-new-domain-in-the-directadmin-panel\/","title":{"rendered":"How to add a new domain in the DirectAdmin panel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Post Date:<\/strong> November 21, 2020<br><strong>Last Updated:<\/strong> November 19, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This guide explains how to <strong>add a new domain<\/strong> to a hosting account in the DirectAdmin panel. DirectAdmin is a web hosting control panel that manages websites, email, DNS and databases from one interface. When you add another domain, DirectAdmin creates its web folder, web server settings and DNS zone for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The original guide listed the steps but not the details. This version adds the prerequisites, the DNS step that makes the domain work, a verification step, the HTTPS login address and troubleshooting.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Warning:<\/strong> Before you add a new domain, check that your package allows more domains and has enough disk space and bandwidth left. A domain you create under the wrong user account is awkward to move later, so confirm which user you are logged in as.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you add a new domain, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The DirectAdmin login (user level or reseller level) for the hosting account<\/li>\n\n\n\n<li>The server IP address or hostname, and access to port 2222 in your firewall<\/li>\n\n\n\n<li>A registered domain name, with access to its DNS or nameserver settings<\/li>\n\n\n\n<li>Free room in the account&#8217;s package: domain limit, disk space and bandwidth<\/li>\n\n\n\n<li>The settings you want for the new domain: bandwidth limit, disk space limit, SSL, CGI and PHP<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Architecture<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>DirectAdmin<\/strong> runs on port 2222 and gives each user a panel for their own account<\/li>\n\n\n\n<li>A <strong>user account<\/strong> owns one or more domains, within the limits of its package<\/li>\n\n\n\n<li><strong>Domain Setup<\/strong> creates the domain&#8217;s folders under <code>\/home\/username\/domains\/example.com\/<\/code>, with <code>public_html<\/code> as the website folder<\/li>\n\n\n\n<li>DirectAdmin also writes a <strong>web server virtual host<\/strong> and a <strong>DNS zone<\/strong> for the new domain<\/li>\n\n\n\n<li>The domain starts to work once its <strong>A record or nameservers<\/strong> point to the server&#8217;s IP address<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The image below shows how it fits together. For the official reference, see the <a href=\"https:\/\/docs.directadmin.com\/\" target=\"_blank\" rel=\"noopener\">DirectAdmin documentation<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow-1024x576.png\" alt=\"\" class=\"wp-image-13658\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow-1024x576.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow-300x169.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow-768x432.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow-1536x864.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Flow.png 1672w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Add a New Domain in the DirectAdmin Panel<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Log In to DirectAdmin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open the panel in your browser:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">https:\/\/your-server-IP:2222\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>your-server-IP<\/code> with the server&#8217;s IP address or hostname. Port <code>2222<\/code> is the default DirectAdmin port. Log in with your username and password.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The original guide used <code>http:\/\/<\/code>. Current DirectAdmin versions use <code>https:\/\/<\/code>, and the browser may warn about a self-signed certificate until a trusted one is installed.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">2. Open Domain Setup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>Your Account<\/strong> section, click <strong>Domain Setup<\/strong>. The page lists the domains already on the account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/2-1.png\"><img decoding=\"async\" width=\"526\" height=\"426\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/2-1.png\" alt=\"\" class=\"wp-image-13659\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/2-1.png 526w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/2-1-300x243.png 300w\" sizes=\"(max-width: 526px) 100vw, 526px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. Click Add Another Domain<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Add Another Domain<\/strong>. This is the screen where you add a new domain to the account. Enter the domain name, such as <code>example.com<\/code>, without <code>http:\/\/<\/code> or <code>www<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/3-1024x457-1.png\"><img decoding=\"async\" width=\"1024\" height=\"457\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/3-1024x457-1.png\" alt=\"\" class=\"wp-image-13660\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/3-1024x457-1.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/3-1024x457-1-300x134.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/3-1024x457-1-768x343.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">4. Set the Domain Options and Create It<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the settings you need, then click <strong>Create<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Bandwidth Limit:<\/strong> the monthly transfer for this domain, or unlimited if the package allows it<\/li>\n\n\n\n<li><strong>Disk Space Limit:<\/strong> the storage for this domain, or unlimited if allowed<\/li>\n\n\n\n<li><strong>Secure SSL:<\/strong> tick it if the server supports SSL, otherwise leave it unchecked<\/li>\n\n\n\n<li><strong>CGI Access:<\/strong> allows CGI scripts, and most modern sites do not need it<\/li>\n\n\n\n<li><strong>PHP Access:<\/strong> tick it for WordPress and other PHP sites<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">DirectAdmin creates the domain and shows a confirmation message.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/4-1024x775-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"775\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/4-1024x775-1.png\" alt=\"\" class=\"wp-image-13661\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/4-1024x775-1.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/4-1024x775-1-300x227.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/4-1024x775-1-768x581.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">5. Point the Domain to the Server and Verify<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">At your registrar, point the domain to the server. Either set an <strong>A record<\/strong> to the server IP, or change the <strong>nameservers<\/strong> to the ones your host gave you. DNS changes can take from a few minutes to 48 hours.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check the DNS and the folder:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">dig +short example.com\nls \/home\/username\/domains\/example.com\/public_html\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first command should print your server IP. To test the site, upload a simple <code>index.html<\/code> to <code>public_html<\/code> and open <code>http:\/\/example.com<\/code>. After the site loads, install a free SSL certificate from the domain&#8217;s <strong>SSL Certificates<\/strong> page in DirectAdmin if you did not enable it earlier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you cannot add a new domain or the new site does not open, check these:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A message that the domain already exists:<\/strong> Another user on the server already owns it. Ask the server administrator to check, because a domain can belong to only one account<\/li>\n\n\n\n<li><strong>A message that you reached your domain limit:<\/strong> Your package allows a fixed number of domains. Ask your reseller or host to raise it, or remove a domain you no longer use. The exact wording depends on your DirectAdmin version<\/li>\n\n\n\n<li><strong>You can&#8217;t find Add Another Domain:<\/strong> Domain Setup is at the user level. If you are logged in as admin or reseller, switch to the user account first<\/li>\n\n\n\n<li><strong>The page at port 2222 won&#8217;t load:<\/strong> The port is blocked. Open <code>2222<\/code> in the server firewall and in your cloud security group<\/li>\n\n\n\n<li><strong>The domain shows the host&#8217;s default page or another site:<\/strong> DNS still points elsewhere, or the change has not spread yet. Run <code>dig +short example.com<\/code> and compare it with the server IP<\/li>\n\n\n\n<li><strong>You add a new domain but SSL is unavailable:<\/strong> Enable the domain&#8217;s DNS first, then request a certificate from the <strong>SSL Certificates<\/strong> page<\/li>\n\n\n\n<li><strong>A browser warning on the login page:<\/strong> This is the self-signed panel certificate. Install a trusted certificate for the hostname when you can<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To add a new domain in DirectAdmin, log in on port 2222, open <strong>Domain Setup<\/strong>, click <strong>Add Another Domain<\/strong>, set the limits and options, and click <strong>Create<\/strong>. Then point the domain&#8217;s DNS to your server and test with a simple <code>index.html<\/code>. Check the package limits before you start, because most failures come from limits or DNS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions (FAQs)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How many domains can I add in DirectAdmin?<\/strong><br>It depends on your package. The host or reseller sets a domain limit, which can be a fixed number or unlimited.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Can I add a new domain without changing the nameservers?<\/strong><br>Yes. Set an A record at your current DNS provider to the server IP. Nameservers are only needed if you want DirectAdmin to host the DNS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What is the difference between Add Another Domain and a subdomain?<\/strong><br>A domain is a separate website name, like <code>example.com<\/code>. A subdomain is a part of an existing domain, like <code>blog.example.com<\/code>. Use the <strong>Subdomain Management<\/strong> page for subdomains.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Where are the website files stored?<\/strong><br>In <code>\/home\/username\/domains\/example.com\/public_html<\/code>. Upload your files there with File Manager or FTP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-vestacp-on-linux-server\/\">How to Install VestaCP on Linux Server<\/a><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-lets-encrypt-with-apache-on-centos-7\/\">How to Install Let&#8217;s Encrypt with Apache on CentOS 7<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to Our Technology Experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Launching a new website on your domain? Our team can design, build, and host your site so it is ready to go live through our <a href=\"https:\/\/pheonixsolutions.com\/web-development\/\">Web Development Services<\/a>.<br><br><a href=\"https:\/\/pheonixsolutions.com\/contact\">Connect with our technology experts.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: November 21, 2020Last Updated: November 19, 2026 Introduction This guide explains how to add a new domain to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13657,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[786],"class_list":["post-5932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-aws","tag-directadmin","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1xG","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/11\/DirectAdmin-Domain-Setup-Tutorial-Banner.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5932"}],"version-history":[{"count":2,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5932\/revisions"}],"predecessor-version":[{"id":13663,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5932\/revisions\/13663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/13657"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}