Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

umefarooq's avatar

Looking for best way to setup a VPS server

Looking for best way to setup a VPS server for laravel and other needs. I recently moved from shared hosting to vps, after moving came to know i have blank server, i have to setup everything, now what is the best way to setup vps server with all services like shared hosting, like important things Email, Web Server other services. how much ram and cpu required for personal portfolio site.

0 likes
3 replies
Nash's avatar

Many VPS providers have various one-click setups for LAMP, LEMP etc., but if you are new to all this you may want to consider using a server management service like Laravel Forge (official Laravel product). Forge installs (almost) everything you need for you and lets you configure important stuff and handle deployments. You'll still need a separate VPS provider like DigitalOcean or AWS though.

Check out the Laracasts series on Laravel Forge: https://laracasts.com/series/learn-laravel-forge

umefarooq's avatar

Thanks for reply, really helpful. I was able to install LAMP on server, How can i set up personal emails, send and receive emails.

taylormaguire's avatar

Most VPS providers like AWS, Azure, DigitalOcean are not going to provide you email capabilities out of the box. The best case scenario for you is to manage Laravel and Email hosting separately.

The easiest way to manage email hosting accounts would be to use WHM/cPanel for this. Lots of cPanel / shared hosting providers will include cpanel licensing in their monthly fees however you can license from cPanel directly as well for a nominal monthly fee.

Laravel Forge is a fantastic tool to manage Laravel and WordPress installations, this will include free SSL certificates through LetsEncrypt same as cPanel does.

I would NOT recommend you run Laravel on a cPanel server, The best Laravel server admin panels i've used are Forge, and ServerPilot, or plain old Ubuntu with LAMP stack.

I recently moved to Laravel Forge for my admin panel and it has been an absolute delight. I currently have servers on DigitalOcean and AWS, but i prefer DigitalOcean.

I highly recommend you use Office 365, GSuite, or some cPanel shared hosting for email.

Please or to participate in this conversation.