Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

How to Install DirectAdmin on Amazon AWS – Codentricks

How to Install DirectAdmin on Amazon AWS – Codentricks

How to Install DirectAdmin on Amazon on Amazon AWS, In this tutorial we will learn how to install DirectAdmin on Amazon AWS. For this you first you need to create AWS instance, the login via SSH for this you can use an application “putty” available for Windows OS as well as Linux.

Install DirectAdmin on Amazon AWS

DirectAdmin is a web hosting control panel like Cpanel + WHM that allows you to manage your websites through a graphical web-based interface. It’s known for its ease of use, speed, and stability. While cost for Cpanel is now increasing leap and bound where Directadmin comes in 5$ pm subscription.

Here are some key features of DirectAdmin:

How to Install DirectAdmin on Amazon on Amazon AWS Tutorial

For installing DirectAdmin on AWS we need License key, so first we need to buy directadmin. Then login to aws instance as root and run command below

bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'license_key'

replace license_key with you keys obtained from directadmin.

After install, you will get details like, here we used a demo ip : 3.128.194.142, so you can understand better. After installation you get like the information given below, save these information.

The following information has been set:
Login: 3.128.194.142:2222
Admin username: admin
Admin password: ka2QQ3523GTygfdgLCHMsRz
Admin email: [email protected]

To login now, follow this URL: https://server-3-128-194-142.da.direct:2222 (Directadmin Login url)

Login to DirectAdmin

After login to DirectAdmin , go to custom build -> Build,   install  any application you need.

If you have and query or suggestion or need assistance  then please contact me, I will reply to fix your problem, if you like our content then you can subscribe to our Youtube channel. If you want to hire me then reach us at our Fiverr.

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address using ipswap.sh. In this tutorial we will learn How to change your server IP address in DirectAdmin using ipswap.sh. When you install directadmin on AWS without elastic ip and in worst situation you need to restart instance the you get a new ip and you loose access to your old ip, In this scenario we need to change ip address.

For this first we need to login via ssh with putty now go to directory to /usr/local/directadmin/scripts.

You can use Linux command given below

cd /usr/local/directadmin/scripts

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address

Run the command given below (it will require root access)

./ipswap.sh old_ip_address new_ip_address

Restart all services to IP Address change effect

systemctl restart pure-ftpd
systemctl restart exim
systemctl restart dovecot
systemctl restart httpd

You can also run da build rewrite_confs

Run the commands given below

cd /usr/local/directadmin/custombuild
./build set userdir_access yes
./build update
./build rewrite_confs

Learn how to install directadmin on Amazon Aws.

If you have and query or suggestion then please comment, I will reply to fix your problem, if you like our content then you can subscribe to our Youtube channel. If you want to hire me then reach us at our Fiverr.