Browsed by
Miesiąc: Marzec 2017

Change standard Virtual Host file

Change standard Virtual Host file

Hello, I already searched this forum but didn’t find the answer. On my server I have several websites. Some have SSL others not. For one website I have edited the Virtual Host file for that domain with this: (located usr/local/directadmin/data/users/xxxx/) <VirtualHost xxxx:80 > <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </IfModule> </VirtualHost> <VirtualHost xxxx:443 > Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" </Directory> </VirtualHost> But now I want to have these also for all the other websites…

Read More Read More

Question about iptables

Question about iptables

Hello, I’m wondering if someone can enlighten me, we are running DirectAdmin on a CentOS server and have been getting hit by a lot of brute force attacks lately and I am trying to permanently block some IP Ranges from connecting to our server, after some searching on the internet I found the iptables commands that do seem to block the traffic… For example, to block a class C IP Range I’m using something like… Code: iptables -I INPUT -s…

Read More Read More

Same php.ini path for different used PHP versions!

Same php.ini path for different used PHP versions!

Hey guys. I’ve set PHP 5.6 as the first relase and 7.0 as the second one in Custombuild and installed them completely on my server. Then I changed the main PHP version of one website from 5.6 to 7 and ran the code below on it and another website (running with PHP 5.6) PHP Code: <?php echo phpversion().'<br>’.php_ini_loaded_file(); ?> Results were: Code: 7.0.17 /usr/local/php56/lib/php.ini and Code: 5.6.30 /usr/local/php56/lib/php.ini Is it not strange? Both cases are telling loaded php.ini are same, whereas…

Read More Read More

Can not assign a new IP to an user on a reseller account?

Can not assign a new IP to an user on a reseller account?

Hello, I follow this guide https://help.directadmin.com/item.php?id=261 and I succeeded to add 2 new IP addressed to 2 accounts on a reseller on Directadmin last week But today I have a new IP and do same things but I could not see new IP when modify an user account. userip.png Why? Where to check this problem? Thanks Attached Images userip.png (35.3 KB)

how to reinstall php and apache

how to reinstall php and apache

hello how can I reinstall apache and php complete server ? Full rebuild php , but I did not fix the problem I want to remove and re-install the php and apache, like the first day I need to reset the settings php.ini and Apache my web server is litespeed and php release 5.5 and 5.6 please help me for solved this problem … thanks

access to database

access to database

Hi, I’ve hired a company to do a job on my website. They are having this problem that I don’t fully understand. I’m hoping someone can figure this out for me. What the problem is that they are facing and a solution to it. Their email they sent to me(which explains the problem the best) reads als follows: "Firstly, I want you to understand this thing that – 1. I can access your direct admin which is fine. 2. I…

Read More Read More

How to turn of system message on creating a new login key

How to turn of system message on creating a new login key

How can turn off the message ‚Your Login Key xxxx has been created’ in the message system? I would like to add keys without this is being reported in the message system, how can i do this? I believed there was a config setting for it but i cannot find it, who can help/advise?

New to Direct Admin

New to Direct Admin

So I’m new to Direct Admin – I have been running sites for a few years but am used to using CPANEL and for the last two years I have been operating as a reseller so I have used WHM to create the packages. I have now purchased a number of "cloud boxes" from a company caller Versio – I’ve bought 4 boxes which are combined into one VPS. I’m having a bit of a senior moment. Apparently I can…

Read More Read More

Mod_ruid2 not working

Mod_ruid2 not working

Hello, i’ve updated my server to the latest Ubuntu release 16.04 LTS Also updated all of Directadmin and now i’m running into issues wit mod_ruid2 If I run apache as is it gives an error in Firefox (translated) "Secure connection failed Connection re-initialised" on a SSL secure host. If i disable the Loadmodule mod_ruid2 inside httpd-phpmodules.conf everything works (except mod_ruid and user rights on the directory’s) i’m using PHP 7.0.17, apache 2.4.25, mod_ruid2/0.9.8 Also let’s encrypt can’t update the certificates…

Read More Read More