arrow_upward

Pages (2):
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set up and secure my VPS
#1
So, I need to install

1. LAMP stack

2. a Mail server

on my VPS-1 and need to do what it takes to secure it. Please tell me how to proceed ? Should I be using VestaCP to do these tasks ? How about the securing part. I was hoping to add a firewall ( CSF/ UFW ? ) and modules like fail2ban etc.

Also, how do I set name server and point my domains to the VPS ?
#2
You can start with these:
https://post4vps.com/thread-205.html
https://post4vps.com/thread-207.html

But a good and simple tutorial for firewalls that's I would like to read too.
#3
VestaCP have almost everything which you need like fail2ban, mailserver, Fast Backups, Antivirus scan of files, FTP server,etc(for viewing all features please visit its site).
and its easy to install too, just go here - http://vestacp.com/ and choose what things you want in your cp and hit the Generate Install command and copy paste its command to your Server.
 Administrator
admin@post4vps.com


#4
Thank you @Dynamo . I hope VestaCP automates the whole process. Let me give it a try.

I saw this guide and it says we need to following things to install VestaCP. Can we do with name servers and A records ? Also, do we need a non root user with sudo privileges ? If so, kindly give the commands to create such an user

Quote:    An Ubuntu 14.04 Droplet
    A registered domain name pointed to this Droplet. You can read this series on hostnames for more information.
    An A record pointing example.com to your Droplet's IP
    An A record pointing ns1.example.com to your Droplet's IP
    An A record pointing ns2.example.com to your Droplet's IP
    An A record pointing panel.example.com to your Droplet's IP
    A CNAME record pointing www.example.com to example.com
    Filezilla or another FTP client installed on your computer
    A non-root user with sudo privileges (Initial Server Setup with Ubuntu 14.04 explains how to set this up.)

(05-01-2016, 11:03 AM)Dudi Wrote: You can start with these:
https://post4vps.com/thread-205.html
https://post4vps.com/thread-207.html

But a good and simple tutorial for firewalls that's I would like to read too.

Thank you @Dudi . I will give it a try. And, sorry I ran out of reputations at this time. Will add them soon. Smile
#5
I am using vestaCP without any errors and all those requirements i just setup an subdomain pointing to my server ip and everything is working fine with root user.
[Image: a3ad5cfbf5.png]
[Image: trk1]
#6
@TrK

Could please help me point the domain ( using NameCheap Control Panel ) to the VPS. What all things should I do ?
#7
(05-01-2016, 11:08 PM)meetdilip Wrote: @TrK

Could please help me point the domain ( using NameCheap Control Panel ) to the VPS. What all things should I do ?

You're using Namecheap DNS, I presume? If so, then:
Login to your control panel and hit "Manage" on the domain you want to point to your server.
Then, click "Advanced DNS" at the top..And click the little "Add new record button".
Click A record, set the host to "@" (without the quotes), and the IP address to your server's IP address. Make sure you have Nginx/Apache running on your server, plus the required conf files for your domain. If you have all that, your website will be up within 24 hours (check propagation @ whatsmydns.net).
#8
Thanks @karatekidmonkey

I am just confused where to begin from. I could set up the VPS first with LAMP stack or point the domain to the VPS ? I am planning to use VestaCP.
#9
If you are going to use vestaCP then you don't need LAMP, just simply install vestaCP from the bash script you can get from vestacp.com
[Image: a3ad5cfbf5.png]
[Image: trk1]
#10
Ok @TrK


What to enter in hostname , email and password columns in VestaCP ? ( Please see the attachment )

I am also confused between choosing a control panel. Which one is the best ? VestaCP or Virtualmin ?


Attached Files Thumbnail(s)
   
Pages (2):


person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting