Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello;
I have a user “dev” and the site is installed in dev directory. whenever i upload a .zip file like wp theme and extract it permissions check to “root” instead of “dev” who is added to the sudo group.
any idea how to do this? i don’t want to be changing permissions whenever i upload themes via command like.
On serverpilot when if you upload the file with root, so long as you extract it with serverpilot the file permission goes to serverpilot user.
Thanks
Thanks … very well written… I noticed a typo… to check that the default_server option is only enabled in a single active file by typing: grep -R default_server /etc/nginx/sites-enabled/
should be grep -R default_server /etc/nginx/sites-available/
I have set up the server blocks like the guide but somehow call to site2.com always get redirected to site1.com. Please advise.
Thanks.
server {
listen 80;
listen [::]:80;
root /home/bro/www/site1.com;
server_name site1.com, www.site1.com;
location / {
return 301 https://www.site1.com$request_uri;
}
location ~ /.well-known {
allow all;
add_header Content-Type text/plain;
}
}
server {
listen 80;
listen [::]:80;
root /home/bro/www/site2.com;
server_name site2.com, www.site2.com;
location / {
return 301 https://www.site2.com$request_uri;
}
location ~ /.well-known {
allow all;
add_header Content-Type text/plain;
}
}
Hello. What´s the difference between
listen 80;
and listen [::]:80;
Thanks in advanced!
Hi I have followed all the steps but site is not running. when I access domain yournexthosting.com in browser it download a file automatically. when I access yournexthosting.com/index.html it downloads index.html page… plz help.
Thanks for this, it’s super helpful. I wanted to host a Django server and node server on one Ubuntu instance, and this got me started in the right direction. I wrote a little bit about setting up multiple server blocks
I am using LEMP on Ubutu 16.04 with a virtual host(server block). When I log into phpmyadmin, I get a 404 page. But when I go back to /phpmyadmin I am logged in. So it is logging me in, but redirecting to a 404. The url (after logging in) is index.php(Plus a ton of other characters). Any idea what is going on?
Its totally shocking. In every article since 2012, you always skip the part where you are supposed to create the virtual host and instead copy the default.