DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

Domain is missing on a Custom HTTPD Configurations page in Directadmin

| 12:41:40 19.09.2016

If after an account restoration or any other action you don't see a domain on a "Custom HTTPD Configurations" page in Directadmin, and you are still sure that domain exists at an user level on a server, then there is a quick way to get it fixed.

Directadmin reads the file: /etc/virtual/domainowners in order to get a list of domains hosted on a server. So if for any reason the file is missing a domain which is hosted on the server, the domain won't be displayed on the "Custom HTTPD Configurations" page in Directadmin.  Thus to get it fixed you simply need to add the missing domain into the file. Be careful to use a correct format:

example.com: userbob

Where instead of example.com you should specify your real domain name which is missing on the page, and instead of userbob you should use a real username of domain's owner.

echo "example.com: userbob" >> /etc/virtual/domainowners

And now reload and check the page in a browser. You should see the domain on the page.

That's it!

P.S. IMPORTANT! The file should have a final empty line at the very bottom.

Tags: directadmin 
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition