DirectAdmin vs. CPanel

While I do like the interface of Directadmin (as experienced on ZenSix), I feel that the best route when dealing with large number of sites or accounts, especially if on a VPS or dedicated server, is to go with Cpanel/Whm. Primary because if you ever move hosting, migration is a snap from cpanel-to-cpanel, and not everyone offers DA.
 


Installatron preset for the path is wordpress but I really don't want my site to be at domain.com/wordpress.

So what's the workaround on installing directly onto your domain homepage?

Y I kan no haz hello world?

Quite simply you could move your files from /wordpress into the root of domain.com/ , but you would also have to open phpMyAdmin and navigate to the wp_options table, then 'browse' to find all the options that contains either the path or url to wordpress and correct them to the root of the domain. Once thats done wordpress will function as normal from the root of the site (otherwise it tries to redirect to the subfolder if you don't make the database change).

Alternatively, if you didn't add anything to wordpress yet, you could simply move it to the domain root, and then just empty out that particular database via phpMyAdmin and wordpess would just start the '5 minute' install process when you visit the domain.
 
Alternatively, if you didn't add anything to wordpress yet, you could simply move it to the domain root, and then just empty out that particular database via phpMyAdmin and wordpess would just start the '5 minute' install process when you visit the domain.

Yeah, brand new domain, totally empty. Thanks for the fix but if that's the standard procedure, +1 for cpanel over DA.
 
Yeah, brand new domain, totally empty. Thanks for the fix but if that's the standard procedure, +1 for cpanel over DA.

Course since we're talking bout wordpress, really not much more than:

1) Make a database and user, assign user to it.
2) Upload the wordpress files to your site (or the zip/tar.gz since both DA and CP can extract)
3) Edit wp-config.php with your database name and login.
4) Visit site
5) done.

So even if you didn't like installtron or fantastico's default location, its not much more to do to install it manually, even from the control panel without ever touching an FTP client.
 
So playing about with my new DirectAdmin interface for the first time, when I try installing wordpress via installatron directly into the root of the domain (ie, not entering a path), it doesn't load WP when I click on the URL link. Instead I get a page instructing me to install my website into public_html. The wp-admin is set up correctly. Installatron preset for the path is wordpress but I really don't want my site to be at domain.com/wordpress.

So what's the workaround on installing directly onto your domain homepage?

Y I kan no haz hello world?

Just add a redirect from the root domain to www - http://www.site-helper.com/misc.html#redirect


ps - DirectAdmin/Installatron don't use the concept of "add-on" domains with "www" redirects. Every domain is separate and has its own controls. If you want to install to "www", you actually have to create the "www" subdomain. Otherwise, when Installatron goes to install there, it won't find it, because it's not a valid subdomain. Did that make sense at all?
 
Just add a redirect from the root domain to www - Site-Helper.com -- Helping you get the most out of DirectAdmin and your web site!


ps - DirectAdmin/Installatron don't use the concept of "add-on" domains with "www" redirects. Every domain is separate and has its own controls. If you want to install to "www", you actually have to create the "www" subdomain. Otherwise, when Installatron goes to install there, it won't find it, because it's not a valid subdomain. Did that make sense at all?

Yes, that made sense.

Deleting the index.html file after installing WP to the domain root was the simplest fix I could come up with.
 
I can say from the bottom of my heart that i HATE directadmin. All it did was hold back my team wasting hours of "research" to figure out features that are basic functions on CPanel. DirectAdmin's server license is cheaper for a reason.
 
I can say from the bottom of my heart that i HATE directadmin. All it did was hold back my team wasting hours of "research" to figure out features that are basic functions on CPanel. DirectAdmin's server license is cheaper for a reason.

No offense, but it if it took your team hours of "research" to figure out the basic functions, you need a new team. For someone who has never used either panel, DirectAdmin has a much lower learning curve.