DirectAdmin Check PHP Logs And More

DirectAdmin Check PHP Logs And More

Logs are important when diagnosing various issues from your code, the server or other sources.

  1. Login to your DirectAdmin account
  2. Under System Info & Files, click Site Summary / Statistics / Logs

    DirectAdmin Check PHP Logs And More 1
    DirectAdmin Check PHP Logs And More 1
  3. Click Usage Log or Error Log and you will be brought to a new page with the logs shown
    DirectAdmin Check PHP Logs And More 2
    DirectAdmin Check PHP Logs And More 2

     

Enjoyed the content ? Share it with your friends !

DirectAdmin Change Theme And User Interface

DirectAdmin Change Theme And User Interface

Here’s how you can change your theme and user interface in DirectAdmin to whatever is best for you. The options, however, will be limited to what your host installs. Personally for me, I am using the default options available and I am quite satisfied with them. Most, if not all, of my DirectAdmin tutorials will be done in the default theme as well.

  1. Login to your DirectAdmin account
  2. At the top right corner you will see your user profile

    DirectAdmin Change Theme And User Interface 1
    DirectAdmin Change Theme And User Interface 1
  3. Click on your user profile and more options will show up as shown in the image below

    DirectAdmin Change Theme And User Interface 2
    DirectAdmin Change Theme And User Interface 2
  4. Click on Skin Options and various options for themes and user interface will show up, allowing you to customize it to how you wish
    DirectAdmin Change Theme And User Interface 3
    DirectAdmin Change Theme And User Interface 3

    Conclusion

    If you require any assistance, feel free to let me know in the comments below, and I will try my best to assist you

Enjoyed the content ? Share it with your friends !

DirectAdmin Import Database

DirectAdmin Import Database

Here’s how you can import your database in any SQL file format into DirectAdmin. If you have yet to create a database, you may refer to this guide here to do so.

  1. Login to DirectAdmin as User
  2. Under Account Management, click MySQL Management

    DirectAdmin Import Database 1
    DirectAdmin Import Database 1
  3. At the right side of the page, click on Upload Backup

    DirectAdmin Import Database 2
    DirectAdmin Import Database 2
  4. Select the database file you wish to import, and enter your database credentials

    DirectAdmin Import Database 3
    DirectAdmin Import Database 3
  5. Done !
Enjoyed the content ? Share it with your friends !

DirectAdmin Create Database And Database User

DirectAdmin Create Database And Database User

Here’s how you can create a database, and a database user in DirectAdmin. The images in the guide below uses the default theme in DirectAdmin.

  1. Login to DirectAdmin as a User
  2. Under Account Manager, click MySQL Management

    DirectAdmin Create Database And Database User 1
    DirectAdmin Create Database And Database User 1
  3. At the right side of the page, click CREATE NEW DATABASE

    DirectAdmin Create Database And Database User 2
    DirectAdmin Create Database And Database User 2
  4. Enter your database details as shown below
    DirectAdmin Create Database And Database User 3
    DirectAdmin Create Database And Database User 3

    DirectAdmin Create Database And Database User 4
    DirectAdmin Create Database And Database User 4
  5. You will see your database details upon successfully creating the database

    DirectAdmin Create Database And Database User 5
    DirectAdmin Create Database And Database User 5
  6. Done. If you wish to import a SQL file into your database, you can do that by following the guide here

Conclusion

Try out the various options available for yourself and see what suits you best.  If you want a theme or option that is not available, you should contact your hosting provider and see if they are able to get it installed for you.

If you require any assistance, feel free to let me know in the comments below, and I will try my best to assist you.

Enjoyed the content ? Share it with your friends !

Redirect Old Domain To New Domain With .htaccess

Redirect Old Domain To New Domain With .htaccess

Assuming that your web server runs on Apache, which is pretty much the norm for any shared hosting service out in the wild, here’s how you can redirect your old domain name to a new one, while keeping your SEO juices.

Using any file editor available, edit the .htaccess file at the root folder, which is usually public_html .Add the following to the very start of the file, regardless of whether your .htaccess is empty or not

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^olddomainhere.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www.olddomainhere.com$
  RewriteRule (.*)$ http://www.newdomainhere.com/$1 [R=301,L]
</IfModule>

The above will redirect the homepage, and any other pages. For example, the following

1. http://olddomainhere.com/
2. http://www.olddomainhere.com/
3. http://olddomainhere.com/redirect-old-domain-to-new-domain-with-htaccess

Redirects to the following respectively

1. http://www.newdomainhere.com/
2. http://www.newdomainhere.com/
3. http://www.newdomainhere.com/redirect-old-domain-to-new-domain-with-htaccess

Should you require any assistance, let me know in the comments below and I will try my best to help.

Enjoyed the content ? Share it with your friends !