Saturday, February 7, 2015

Install Ajenti & Ajenti-v web hosting control panel on your EC2 amazon server

When we are using VPS, it’s better if we install a hosting control panel. It’s very important choosing the better control panel. Cause i don’t like most of the control panel like webmin, zpanel. It’s has less feature. now a days i like Ajenti control panel. Really very nice control panel. Thought it has some problem. But it’s good to work.

First login your VPS and write command –
$ wget -O- | sudo sh
ajenti will install automatically. Now write –
$ service ajenti restart
Restart the ajenti server and we will install ajenti-v. It’s the hosting control pagel. write –
$ apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql
This will install ajenti-v, nginx, mysql and php. In this part you have to input mysql password. Now again restart the service.
$ service ajenti restart
we will login on our hosting control panel. To login you have to write https://id-address:8000. I mean if your ip address is You have to write and check on the browser. You will get a warning. Ignore it and click on the include this exceptional. You will get this login page. Input root as user name and input admin as password.

You will get this interface after login –

On the left side go to the package । click on the search tab. write ajenti on the search box. You will get this.
click check mark on these packages and appy. Automatically all package will be installed. If it want any permission click on the Y.

On the left side by clicking configure uncheck the mark and restart website. Now no need to browsing using https. we will browse using only “http”. Like this –
Here on the left side, go to the “websites”. Click on the restart websites. Carefully check is Nginx service on or not. If not no problem. Suppose on the new website part you have written and click on the create button. Click on the manage. uncheck the maintance mood. on the path write /srv/ and click on the create director. click on Set and apply changes. Please do the all task carefully.

Click on the domain tab.

Go to the Content and select php-fast-cgi. Then create and apply changes.
### Those who are using Joomla or wordpress site which is depended CMS. They will fall routing problem. To solve this problem check the simple file. Just put it on the web site configuration option.
on this page you will get the code. Please write it carefully as you need.
There is a Mysql tab, you can go there and create database and user. Don’t forget to click on the grant all permission.
On the FTP part you will see, user is created automatically. You can check ftp details using filezilla. Sometime you may fall a problem. In that case select passive mode on your filezilla.

Sometimes you may see different types of error in your website. In that case click on the “websites” on ajenti control panel. click restart website. nginx will start. If not please restart again. If not now login on your server using ssh. Then click restart website and hope nginx will run this time.
Go to this location srv/ using file manager and create a new file. Rename it to index.php. Edit it and write <?php phpinfo() ; ?> and save it. Now go to the site. Can u see anything? No ! we have to configure DNS on domain control panel.
Domain and hosting connected with 2 ways. First is using name server and second is using DNS. If your domain provider is Namecheck or Godaddy, then login on that and select the DNS. You will not get as like as this what i say. Please search on the google how to edit DNS for your domain provider.

For domain configure like this. TTL value will 600. Save it.
After 12 hours you can check your site what is the output. But i am not wait for 12 hours. I go to the or to check my site after changing the DNS.

Now i will teach you how to configure subdomain. Suppose you want a subdomain name bookmark. Add like this on you domain control panel.
HOST NAME         IP ADDRESS                 RECORD TYPE 
bookmark                 A address
www.bookmark   Cname

On the ajenti control panel on websites, Also Change the general path srv/ . Create a new site name “”. on the domain tab write – and .

 I have my own style to create the path. If you want to add new domain. You can choose your path –

on this path I put the all files of main sites. If you want to create a subdomain name “blog”, you can choose your path –

In this style you can put the mainsite and subdomains separately
Now put a index.php file on srv/ Check your site ok or not.
Sometimes you need to install phpmyadmin. You can create a subdomain called phpmyadmin and put the script of phpmyadmin downloading from their site.

Then after browsing you can do all work. There is a new article on ajenti domentation on phpmyadmin. You can check.

To configure the mail go to the main option. Create a new mail box prefix.

You can click on the mailbox or forwand it to you another email address. I think on ajenti forwarding is the best choose.
Limitation 1: Ajenti support the latest version. If you want to use multiple version, I don’t know how to do this. I Tried a lot to do that. Cause I have some sites, which works well in old version. As ajenti does not support the old version of php, so I can not run my sites.

Limitation 2: When we add sudomain, then we need to update the IP address on domain control panel. If we use bind9 for nameserver, no need to update DNS every time. But i am failed to configure the bind9.
Please read the article minimum 3 times to understand. If you face any problem don’t hasitate to comment here.


  1. ti-v-mysql ajenti-v-php-fpm php5-mysql
    This will install ajenti-v, nginx, mysql and php. In this part you have to input mysql password. Now again restart the service.

    pakistan web hosting

  2. I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
    Cloud Nine Realtime

  3. Get Blazing Fast Asia Optimized Web Hosting For Affordable Price Here - THESTACK.NET

  4. Get Blazing Fast Asia Optimized Server For Affordable Price Here - THESTACK.NET

  5. Thanks to you for share such kind of information.

    domain name registration

  6. First of all you should know that shared hosting is just that, the hosting company is hosting many websites on the same server. top web hosting companies in Nigeria

  7. Aj web hosting panel is amazing. It has utmost great features. Dominios is also providing such wonderful features in cheap rates.

  8. Although the list of cloud hosting service benefits is long, it is imperative to choose the right cloud hosting service provider because the selection of wrong provider may invite negative outcomes.
    cheap web hosting

  9. Online organizations alongside people will need to choose a solid web facilitating organization that additionally offers incredible client administration, reasonable and focused valuing in addition to five star administration. inmotion hosting

  10. One Of the Best Sever admin panel . This article help me a lot .

  11. One Of the Best Sever admin panel . This article help me a lot .

  12. Head to a search engine and go to the resources page for current advertisers, and click on the link for key word selector tool. Namecheap Hosting coupon