Questions tagged [directadmin]

DirectAdmin is a popular web hosting control panel

DirectAdmin is a popular web hosting control panel. Questions about DirectAdmin might be more appropriate in the Server Fault or Pro Webmasters StackExchange communities.

221 questions
0
votes
1 answer

documentroot path in httpd.conf DirectAdmin ads SUB to the end of the path

My laravel sites are hosted at Versio.nl. Recently they did maintenance on the servers and since then my subdomains are down. I found a strange set of document roots. In the DirectAdmin panel under custom httpd configurations I added: |*if…
M.Koops
  • 145
  • 1
  • 15
0
votes
1 answer

How do i update a CSV file with data from external CSV file link using PHP?

I need help with my PHP code. We have an e-commerce site made with wordpress and woocommerce. The site needs to import products from another site's CSV-file through a datafeed. The datafeed setup requires a PHP-file in the website's file system and…
0
votes
1 answer

Change max_input_var limit from direct admin

I want to try to change the max_input_vars limit from direct admin I have also change the max_input_vars limit from php settings But when I print the value of max_input_var from controller they have return 1000. Anybody can describe what can I…
Hamid Raza
  • 28
  • 1
  • 6
0
votes
1 answer

iptables for webserver (CentOS 5.6 with DirectAdmin 1.39.1)

I have been hosting a couple of websites on my dedicated machine. The OS is CentOS 5.6. Until now, I have been turning iptables off since it jsut blocked all web traffic. However, I see that this is not good and that I should enable the firewall.…
Thomas
  • 33
  • 3
0
votes
0 answers

How can I activate the sockets extension in my php?

I wanted to ask about how to activate the sockets extension of my php. I have tried uncommenting the line "extension=sockets" but it gives me the following error afterwards: PHP Warning: PHP Startup: Unable to load dynamic library 'sockets' Can…
0
votes
1 answer

Why my image not displayed in my domain(I use directAdmin)?

I transferred my website code to my domain, but I don't know why my picture doesn't show on the right side. I placed my image beside index.html, so I used relative addressing: On my directAdmin: index.html: Note to .right: background-image:…
Arman Ebrahimi
  • 2,035
  • 2
  • 7
  • 20
0
votes
0 answers

Use AWS S3 on shared host and directadmin

I'm not enable to locate credential files on my shared host. the credential location for all hosted domains are same. the second way to set access keys is to use env var but I'm not allowed to set environment variable over putenv() to! the putenv()…
0
votes
1 answer

realpath(): open_basedir restriction in effect

everyone. I get this error on my shared host. I contact the support and they said that they don't give permission for my account to open_basedir area. (Since it is not an upgraded account) What can I do unless buy for premium version.
0
votes
1 answer

Bash script skip first code and run second if option disabled

I have available 2 packages with name: package1 package2 Currently I have bash script set for one package: if [[ $package1 == 'OFF' ]]; then exit 0; else ....... ...... ...... do something ...... ..... ..... EOF chown $username.…
TOM ARM
  • 51
  • 3
0
votes
1 answer

DirecAdmin custom script | Insert sample database from url

Custom Bash Script in DA: /directadmin/scripts/custom/domain_create_post.sh Below code: SET UP DATABASE VARIABLES dbpass=$(openssl rand -base64 12) > /dev/null ext=$(openssl rand -hex 2) > /dev/null dbuser="wp${ext}" # do not include the…
TOM ARM
  • 51
  • 3
0
votes
1 answer

DirectAdmin API - issue with show user config

connect('localhost',2222); $sock->set_login('admin','admin_password'); $show_user='user5'; $sock->query('/CMD_API_SHOW_USER_CONFIG?user='.$show_user); $result =…
Tom Arm
  • 153
  • 7
0
votes
0 answers

Use Direct Admin Api to programmatically renew Let's Encrypt SSL certificate

I'm working on a website where users can add a domain name to their project. By doing this the domain is added as domainpointer to my Direct Admin account. I do this using the Direct Admin Api. This all works great but this new domain is not added…
Zebda
  • 299
  • 3
  • 10
0
votes
1 answer

wget strips parameters from url

I use the following command in Directadmin: /usr/bin/wget -O /dev/null https://www.domain-name.com/index.php?parameter=extrap&task=update Now when I send an output email, it shows connecting to the URL but without &task=update
Kuubs
  • 1,300
  • 1
  • 14
  • 42
0
votes
0 answers

cannot use custom 403 error page on litespeed

I have Litespeed and Directadmin on my server and i want to create access control with ip list and show 403 custom error to customers. I can deny all requests and allow from a IP but how can i show custom 403 error page on my litespeed ?
Mahdi Alikhani
  • 121
  • 1
  • 3
  • 13
0
votes
0 answers

How to Build a Git based updatesystem for a multiple hosting-environment in combination with Directadmin?

Situation We are hosting multiple webshops (open-cart) on multiple servers. Every webshop has its own user environment in DirectAdmin so we can connect a domain to the webshop. The webshops are mostly unique but they can differ in code due to some…
Lastion
  • 1
  • 2