Domain

Hello can anybody help me connect me domain to me pterodactyl will be appreciated
58 Replies
Luke
Luke12mo ago
Webserver Configuration | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
! Nobody
! NobodyOP12mo ago
by <domain> do the mean like pov Pterodactyl or pov Pterodactyl.io
Jake
Jake12mo ago
First things first are you using nginx or apache?
! Nobody
! NobodyOP12mo ago
nginx
Jake
Jake12mo ago
And what is your domain you want to use (Including the subdomain path if you want one)
! Nobody
! NobodyOP12mo ago
cloudbots.nl
Jake
Jake12mo ago
So your base config will want to look like this :
server {
listen 80;
server_name cloudbots.nl;

root /var/www/pterodactyl/public;
index index.html index.htm index.php;
charset utf-8;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

access_log off;
error_log /var/log/nginx/pterodactyl.app-error.log error;

# allow larger file uploads and longer script runtimes
client_max_body_size 100m;
client_body_timeout 120s;

sendfile off;

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}

location ~ /\.ht {
deny all;
}
}
server {
listen 80;
server_name cloudbots.nl;

root /var/www/pterodactyl/public;
index index.html index.htm index.php;
charset utf-8;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

access_log off;
error_log /var/log/nginx/pterodactyl.app-error.log error;

# allow larger file uploads and longer script runtimes
client_max_body_size 100m;
client_body_timeout 120s;

sendfile off;

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}

location ~ /\.ht {
deny all;
}
}
so it would be
nano /etc/nginx/sites-available/cloudbots.nl.conf
nano /etc/nginx/sites-available/cloudbots.nl.conf
! Nobody
! NobodyOP12mo ago
how do i go to this file
Jake
Jake12mo ago
ln -s /etc/nginx/sites-available/cloudbots.nl.conf /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/cloudbots.nl.conf /etc/nginx/sites-enabled/
Look at the message above
nano /etc/nginx/sites-available/cloudbots.nl.conf

** PASTE IN THE CONFIG I SENT **

CTRL + X THEN Y THEN ENTER


Create the system Link :
ln -s /etc/nginx/sites-available/cloudbots.nl.conf /etc/nginx/sites-enabled/
nano /etc/nginx/sites-available/cloudbots.nl.conf

** PASTE IN THE CONFIG I SENT **

CTRL + X THEN Y THEN ENTER


Create the system Link :
ln -s /etc/nginx/sites-available/cloudbots.nl.conf /etc/nginx/sites-enabled/
mrpixel
mrpixel12mo ago
Support pterodactyl in blueprint wow :googlyeyes:
! Nobody
! NobodyOP12mo ago
i need it lol
Jake
Jake12mo ago
If you want SSL you'll want certbot. run the command certbot if it throws an error or says something about it doesn't know what web server run the following commands
sudo apt install python3-certbot-nginx
sudo apt install python3-certbot-nginx
Then run the command certbot select your domain. Then restart nginx
sudo systemctl restart nginx
sudo systemctl restart nginx
@! Nobody Does that work for you?
! Nobody
! NobodyOP12mo ago
okay i have done that
Jake
Jake12mo ago
Now go to your domain
! Nobody
! NobodyOP12mo ago
yea it do not show me Panel then
Jake
Jake12mo ago
Have you set up your DNS? So it points to your vps?
! Nobody
! NobodyOP12mo ago
No i didnt
Jake
Jake12mo ago
You need to do that
! Nobody
! NobodyOP12mo ago
how do i do that haha
Jake
Jake12mo ago
Otherwise it won't know where its meant to go B R U H
! Nobody
! NobodyOP12mo ago
im sorry im new in this
Jake
Jake12mo ago
Who did you buy your domain from?
! Nobody
! NobodyOP12mo ago
vimexx.nl
Jake
Jake12mo ago
Log into your account there and go to where it shows your domain And send a SS of what you see (Remove sensitive info if needed)
! Nobody
! NobodyOP12mo ago
im in and im at the dns page
! Nobody
! NobodyOP12mo ago
No description
Jake
Jake12mo ago
So go to DNS
mrpixel
mrpixel12mo ago
Dns
! Nobody
! NobodyOP12mo ago
okay
Jake
Jake12mo ago
And you will see it says "record type" or something similar Choose "A"
! Nobody
! NobodyOP12mo ago
okay
! Nobody
! NobodyOP12mo ago
No description
Jake
Jake12mo ago
Now does it says lik e"path" or name? Should be 2 more text boxes
! Nobody
! NobodyOP12mo ago
No description
Jake
Jake12mo ago
So in name put @
! Nobody
! NobodyOP12mo ago
okay
Jake
Jake12mo ago
And in the content, Put your VPS's IP address
! Nobody
! NobodyOP12mo ago
okay and then save?
Jake
Jake12mo ago
Yeah
! Nobody
! NobodyOP12mo ago
done
Jake
Jake12mo ago
And will have to wait abit for it to update across the globe
! Nobody
! NobodyOP12mo ago
De DNS records zijn geupdate en binnen 2 a 4 uur actief!
Jake
Jake12mo ago
AKA DNS Propegation
! Nobody
! NobodyOP12mo ago
it takes about 2 to 4 hours so i just need to wait now?
Jake
Jake12mo ago
Yeah Just wait.
Saelman
Saelman12mo ago
Jake deserves a medal for this one.
! Nobody
! NobodyOP12mo ago
Real
Neo
Neo12mo ago
fr
! Nobody
! NobodyOP12mo ago
No description
! Nobody
! NobodyOP12mo ago
how do i fix this ://
Deliable
Deliable12mo ago
Run ls /run/php | grep "php8" and send us the results @! Nobody
! Nobody
! NobodyOP12mo ago
Hey I need to go to sleep I’m sorry I send it tomorrow I appreciate you if u can wait if u don’t have time Don’t worry it’s okay
Deliable
Deliable12mo ago
Sure!
! Nobody
! NobodyOP12mo ago
php8.1-fpm.pid php8.1-fpm.sock
Deliable
Deliable12mo ago
I'm not even sure how did you install the panel apt -y install php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} Run this
! Nobody
! NobodyOP12mo ago
me provider has something i can just click a button and it installeds it fully 0 upgraded, 13 newly installed, 0 to remove and 10 not upgraded. Need to get 5392 kB of archives. After this operation, 25.3 MB of additional disk space will be used. Err:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 php8.3-common amd64 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 Temporary failure resolving 'ppa.launchpad.net'
RecuvaPumDEV
RecuvaPumDEV12mo ago
I already helped him, solved.

Did you find this page helpful?