Install cPanel & WHM on AWS EC2 Instance with CentOS 7 and set up Email and Security using Web Host Manager (WHM). This latest version simplifies the WHM setup in just two clicks compared to the installation of the old cPanel version.
cPanel is a server management software for website owners which comes with a 15-day trial. Click here to activate cPanel License
Cpanel and WHM can also be installed on other cloud platforms. You can choose any one from below.
Here are some options.
Platform | Machine Type | Cost (Monthly) |
Digitalocean | 4GB RAM – 2vCPU | $20 |
Google Cloud Platform | Standard 3.75 GB RAM | $25 |
Amazon Web Services | A1- Large 4 GB RAM | $35 |
Check how to install cPanel on Google Cloud Platform.
Launch a new EC2 Instance with CentOS 7 Amazon Machine Image.
Choose at-least t2 micro
instance type.
Add 40 GB
of Storage to your root volume.
Configure Security Group by adding rules for these custom ports.
anywhere
(You can also restrict it)anywhere
anywhere
anywhere
2077
with source anywhere
2078
with source anywhere
2082
with source anywhere
2083
with source anywhere
2086
with source anywhere
2087
with source anywhere
2096
with source anywhere
3306
with source anywhere
2525
with source anywhere
Create an instance by creating a new pem
key to access your instance using SSH. Keep this key safe, without this key you cannot access the instance.
Create a new DNS Hosted zone for your domain name and update the nameservers of Amazon on your domain name.
In your DNS manager create a new A record
with the name cpanel
which points to the Public IP Address
of the instance.
You can check your DNS records here by entering cpanel.yourdomain.com
Once everything is in place you can go ahead and install cPanel.
Access your EC2 Instance with the PEM file you just downloaded.
Once you are connected to your instance enter the following commands one by one.
sudo -s yum update yum install perl yum install wget
Then set the hostname with your domain name. Replace yourdomainname.com
with your domain name.
hostname cpanel.yourdomainname.com
Download the latest cPanel and install it by running the following command.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
It will take around 30 – 40 min to complete the install. Don’t close the terminal until the setup is completed.
Once the setup is completed, you can set the root
password by executing the following command.
passwd
Save your password safely, you will need that to login to your WHM.
AWS Instance won’t preserve the hostname (cpanel.yourdomainname.com
) you set and changes it to default hostname automatically, so this may result in a locked cPanel & WHM license. To preserve the hostname follow the below simple steps .
cd /etc/dhcp/dhclient-exit-hooks.d/ sudo nano set-hostname.sh
Paste the following contents and hit Ctrl+X
followed by Y
to save the file. Remember to replace yourdomainname.com
with your domain name
#!/bin/sh
hostname cpanel.yourdomainname.com
/scripts/fixetchosts
Set correct permissions to the file you created
chmod 744 set-hostname.sh
That’s all now your cPanel is installed and ready to finish the WHM setup
Open your browser and navigate to https://cpanel.yourdomainname.com:2087
. At this point, some browsers show a warning message about HTTPS and don’t allow you to visit the WHM page. In this case, you can use your IP Address instead of the domain name (https://PUBLIC_IP_ADDRESS:2087
). It will take some time for the SSL certificate to get issued by cPanel.
Enter username as root
Enter the password you created by running the command passwd
Now you will be logged into your WHM.
Click Agree to All.
Provide your email
address.
Click Finish
Now you will be taken to the WHM home page.
In AWS port 25, which cPanel & WHM utilizes for email is not open. So you need to create an account with Mailgun or Sendgrid and integrate with WHM for emails or Configure Amazon SES.
Go to Service Configuration >> Service Manager
Tick both boxes next to Exim Mail Server (on another port)
Change Allow Exim to listen on a port other than 25 to 2525
Click Save
As the standard email port is blocked in Google Cloud, you need to configure a third-party email service provider to send emails. Here we can use Mailgun to configure emails in cPanel.
Make sure you have these DNS records.
A
record pointing to mail.domain.com
MX
record with 0 priority pointing to mail.domain.com
Go to Service Configuration >> Exim Configuration Manager.
Click the Advanced Editor tab.
In daemon_smtp_ports enter 465 : 25 : 587 : 2525
In the Section: AUTH box enter.
mailgun_login: driver = plaintext public_name = LOGIN hide client_send = : Default SMTP Login : Default Password
In the Section: PREROUTERS box enter.
mailgun: driver = manualroute domains = ! +local_domains transport = mailgun_transport route_list = * smtp.mailgun.org::2525 byname
In the Section: TRANSPORTSTART box enter.
mailgun_transport: driver=smtp hosts_try_auth = smtp.mailgun.org
cPanel is a subscription-based software, you can activate your license.
Save the configurations, that’s everything about cPanel & WHM on AWS.
4037 Comments
cannabis oil store what is cbd diamond cbd joy organics
cbd store near me https://cbdoilonlinerr.com/ – cannabidiol purekana cbd drops
cannabinoids what is a tincture benefits of cbd
generic viagra pills for sale https://viagrmypill.com/ – buy viagra generic viagra online prescription where can i buy viagra pills
ООО “РыбПромКомплект” уже на протяжении пяти лет изготавливает и поставляет оборудование различного назначения по переработки рыбы и осуществляет комплексное проектирование предприятий пищевой промышленности, рыбоводных хозяйств.
https://www.ribpromkomplekt.ru/sections/oprokidivatel.php?pid=1&rid=1360608650 Изготовим и смонтируем под ключ Камеру дефростации КД-1000/6000 согласно ТЗ.
Производство: г. Санкт-Петербург ООО”РыбПромКомплект”
Техническое описание:
Комплект оборудования КД-6000 предназначен для организации автоматической динамической дефростации замороженной продукции.
Состав комплекта:
Четыре высокопроизводительные калориферные установки из нержавеющей стали (Италия)
Влагозащищенные двигатели (Италия)
Рамы для установки калориферных установок нерж сталь AISI304.
Перекрытия рам, для организации ветрового туннеля
Направляющие потока воздуха
Система увлажнения
Силовой блок
Блок автоматики
Панель управления Touch Skreen
Габариты камеры: 3500*6000*3000 мм
Варианты блока автоматики:
На базе температурных контроллеров AUTONICS (Германия).
ПЛК с управлением с сенсорной панели.
ПЛК с выводом управления и визуализации на компьютер.
Технические характеристики:
Система разморозки – динамическая, с понижением температуры в течении времени разморозки
Разовый объем загрузки Max – 6000 кг
Система увлажнения и микроклимата камеры.
Принцип работы:
Замороженная продукция с темп. -18С, уложенная на тележки, помещается в камеру. Оператор устанавливает датчик температуры в толщине блока продукции. Процесс дефростации начинается автоматически. Температура в камере изменяется в зависимости от температуры блока. Общий цикл дефростации занимает 8 часов и заканчивается при достижении необходимой температуры в толщине блока. В процессе дефростации в камере поддерживается необходимая влажность. Чтобы обеспечить равномерную дефростацию продукции, направление потока воздуха периодически меняется, при этом обеспечивается оптимальное горизонтальное движение воздушных масс.
Best research proposal editor services for mba .
Proceed to Order!!! https://mudbidri.india77.com/user/profile/76537
UYhjhgTDkJHVy
cannabis oil store https://cbdoinlinexo.com/ – cbd store cbd oil at walmart cbd american shaman
Привет,ну вот как ты Зоофилов Андрей просил сброшу тебе подборку сайтов по интересующей зоо ххх видео тематики,где не обрезок порнуха
[url=http://pornonik.mobi]скачать порно на телефон[/url]
[url=http://erkiss.site/videos/dog-porn]порно с собакой[/url] Смотреть трах с собаками,лошадьми и конями онлайн бесплатно,в хорошем качестве
canadian pharmacy brand viagra
Среди ваших плюсов от обращения в наш интернет-магазин мы хотели бы выделить:
Продажа оптом и в розницу. Сотрудничаем как с физическими, так и юридическими лицами.
Индивидуальный подход. Компетентные менеджеры всегда помогут с выбором отопительных устройств и иного оборудования для сауны или бани.
Удобное время работы. Работаем с 10:00 до 21:00 без выходных – обращайтесь тогда, когда это удобно именно вам. Обращаем ваше внимание склад работает с 10:00-18:00
http://saunabani.ru/catalog/cteklyannye Интернет-магазин SaunaBani предлагает купить дровяные банные печи по доступным ценам. В нашем каталоге вы найдете модели для отопления помещений объемом от 8 до 34 куб. м. Представлены печи для дома/дачи Варвара, Везувий, Harvia, TMF и других известных производителей.
easy payday loans
fab cbd cbd oil for sale joy organics cbd cream for pain just cbd
cbd lotion https://cbdoilonlinerr.com/ – cannabis oil hemp oil vs cbd oil joy organics
Appreciate this post. Will try it out.
viagra china
I’m really enjoying the design and layout of your site.
It’s a very easy on the eyes which makes it much more enjoyable for
me to come here and visit more often. Did you hire
out a developer to create your theme? Great work!
Howdy! Do you know if they make any plugins to safeguard against hackers?
I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?
Hi, I do believe this is an excellent website. I stumbledupon it 😉 I will revisit yet again since i have book marked it. Money and freedom is the best way to change, may you be rich and continue to help others.
Cami Halılarının Camiyi Tamamlayıcı Olması Gerekir
Cami halıları kurumsal bir firmadan alınmadan önce
mutlaka caminin deseni ve renkleri incelenmeli, bu
şekilde bir karara vararak en doğru tercih yapılmalıdır.
Örneğin camideki avizenin ve duvarların işçiliği,
celi sülüs ile yazılan dualar ve ayetlerin renkleri düşünüldüğünde en uyumlu
halıyı seçmek daha doğru olur. Bu şekilde bir uyum caminin hem
daha içten ibadet edilecek huzur dolu bir yer olmasını, hemde gelen turistler tarafından göz alıcı ve değer verilen bir yer olduğunu göstermek için önemlidir.
Zira ibadethanelere verilen özen dine verilen değeri gösterecek
ve insanlar da bu şekilde izlenim bırakacaktır.
Hi there The Now i’m Glad to get here Happy New Year
http://www.addbusiness.net/