Set up Pterodactyl Minecraft Server with Custom Domain

  Рет қаралды 13,393

TerrorByte

TerrorByte

Күн бұрын

Пікірлер: 49
@lightechoes
@lightechoes 2 ай бұрын
This is the one of the only tutorials that got me up and running, most others didn't cover an issue I had so thank you very much!
@TerrorByteTW
@TerrorByteTW 2 ай бұрын
Glad to hear it! :D
@Ferrevek
@Ferrevek 2 жыл бұрын
FYI, if you use Proxmox and Nginx Proxy Manager it's way easier to install panel and wings on separate servers and use port 443 for wings so you can just tunnel it trough the manager
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
You can also do the same thing with port streams (I believe) via Nginx Proxy Manager, which won’t require you changing the default port. But yes, this is a great idea!!
@Ferrevek
@Ferrevek 2 жыл бұрын
Yeah I had trouble with that, don't know why, it was just port 8080 and 8443 being difficult 😛
@mrace_real
@mrace_real 2 ай бұрын
this tutorial is very helpful but i dont have certbot where do i get it i cant find any tutorial im new to proxmox and servers in general
@TerrorByteTW
@TerrorByteTW 2 ай бұрын
Hey! If you don't have certbot, don't worry too much about it. On Proxmox, LXC's (normally) don't support Certbot without enabling some settings and doing some preconfiguration due to certbot requiring snap to download, and snap requiring fuse. If you are on Windows, download an app called "Certify The Web". It is a GUI-based tool that allows you to create certificates the easiest way possible. I promise it'll be way easier than doing it via the CLI, especially if you're new to proxmox and servers/linux in general However, if you *are* new to servers/linux administration in general, I'd recommend *against* setting up Pterodactyl and opening your router. You likely will be opening yourself up to some security vulnerabilities that you don't even know about, and that could be dangerous. Get a little bit of linux and networking knowledge under your belt at least and then continue. You can do it! :)
@mrace_real
@mrace_real 2 ай бұрын
@@TerrorByteTW okay thank you
@mrace_real
@mrace_real 2 ай бұрын
@@TerrorByteTW also another thing how do i enable copying and pasting? ive searched it and it all looks like sketchy apps and when i try right clicking to paste the menu doesnt show
@aleskk_
@aleskk_ 2 жыл бұрын
Hey thanks for the tutorial! I was just wondering why you were creating the certificates in proxmox and not in the container? Thanks.
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
Hey there! I created the certs in Proxmox and not the CTs because the Ubuntu CT template does not support the snap store, which is how I installed Certbot (due to plug-in support). If you install Certbot using apt it should work just fine, but plugins are difficult to install. Also, I have a script that I'm working on which runs on the Proxmox node that allows me to copy the certs over to all the different containers at once. Since I use Google Domains, Certbot doesn't have a plugin for them yet so I have to renew the certs manually, and doing it once instead of on each container is better in general, in my opinion :)
@Ehan981
@Ehan981 8 ай бұрын
Hi is this tutorial for making a public pterodactyl panel which is visible to anyone on the internet hosted on a local machine?
@TerrorByteTW
@TerrorByteTW 8 ай бұрын
Yes, however be sure to only install it on a secured server. You’re opening a service to the internet, and there will be bad actors out there. Fail2ban is a good tool for preventing poking at your server, but it shouldn’t be used as the sole method of protection. Also this tutorial is slightly out of date and a little confusing to follow. I’ve tried to remake it but had difficulties myself, even following this video 🤣🤣. So, use the docs if you get confused, that’s your best reference
@Ehan981
@Ehan981 8 ай бұрын
@@TerrorByteTW alright thank you so much
@oudude07
@oudude07 7 ай бұрын
Hi, I tried following the tutorial, but after I got my web server setup I could not access the panel web interface. I typed in my IP for the server and it forwarded it to my domain for the panel, but then I could not reach that site. I received error 522 - request timeout.
@TerrorByteTW
@TerrorByteTW 7 ай бұрын
Hi! 522 is a Cloudflare specific error. Verify several things: • You properly configured your nginx configuration file • Nginx isn’t throwing errors • You properly configured SSL • You port forwarded the web server port on your router • Your ISP doesn’t block specific ports (if you are using something like T-Mobile 5G internet you cannot port forward due to CG-NAT). On my ISP, port 80 is blocked on the consumer side • Double check firewalls Many things could be causing your 522, so check Nginx logs and validate you can actually connect to your network. Unfortunately I cannot help much with this since it’s specific to your network setup and can’t easily be troubleshot
@oudude07
@oudude07 7 ай бұрын
@@TerrorByteTW Thanks for the reply, I finally got it working after I iplisted Cloudflare IP's in my server. I also had to port forward port 443 to the server.
@oudude07
@oudude07 7 ай бұрын
To add to this, if it helps anyone in the future... I was only getting my panel to load when I turned off Proxy on my Cloudflare DNS. However, after changing my SSL to "Full (strict)" and switching my certificates to origin certificates through Cloudflare (unsure if the origin certificates are necessary) I am able to connect with Proxy turned on.
@garybyrne1099
@garybyrne1099 7 ай бұрын
Is there any reason why we shouldn't install Ubuntu server? Instead of standard Ubuntu?
@TerrorByteTW
@TerrorByteTW 7 ай бұрын
Nope! Personal preference honestly. The install docs are written with Ubuntu 22.04 though, so ymmv. Install docs may differ if you don’t use Ubuntu 22.04 LTS 😄
@bluesmilez4850
@bluesmilez4850 2 жыл бұрын
Thanks for the tutorial man great work how do you install say RLCraft ??
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
At 31:05, when you are creating the Minecraft server itself, instead of selecting paper like I did, select Forge Minecraft then install the mod pack like you normally would :)
@bluesmilez4850
@bluesmilez4850 2 жыл бұрын
@@TerrorByteTW mine wont start could u make a small video showing rlcraft running as it needs an older version of java and if me and my friends use curseforge to launch rlcraft will that work
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
@@bluesmilez4850 I won't create a tutorial, however I found a guide for exactly what you're looking for here! :) www.reddit.com/r/feedthebeast/comments/d5kxzr/help_regarding_pterodactyl_egg_curseforge/
@antoinedestructeura
@antoinedestructeura Жыл бұрын
This tutorial is perfect for me because I kinda have the same setup. My proxmox server is online and i use a reverse proxy container that redirect to the right container acording to the desired service. With pterodactyl I can't make the request on port 8080 to work even if my proxmox server redirect 8080 requests to the container (with an hard iptable config...). I get Cross-Origin request error.
@adrianlopezcorral6494
@adrianlopezcorral6494 Жыл бұрын
probastes a cambiar de 8080 a 8443?
@leonardotoschi585
@leonardotoschi585 Жыл бұрын
If i want to have access to the panel from outside my lan?
@TerrorByteTW
@TerrorByteTW Жыл бұрын
You would need to port forward port 443 on your router and point it to your panel. Be VERY careful with this, though, as you need to ensure you are using SSL/HTTPS and you have proper protections in place on your server (strong passwords, fail2ban, etc). Doing this exposes your server to the internet, and anyone with sufficient knowledge and time can get in and utilize it for bad. Remember, Pterodactyl exposes the CLI of your server, and if they have access to the CLI, it’s game over. I would seriously recommend setting up a VPN instead of just exposing it, or protecting it behind some form of 2FA, such as keycloak. That is *way* beyond the scope of this tutorial, and something that I have no experience in.
@bluesmilez4850
@bluesmilez4850 2 жыл бұрын
my certificate says ive done more than 5 in the last 168hrs does this mean i have to wait until i can continue? how long until I can do this again?
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
You only need a certificate once every 90 days. You shouldn’t be renewing it until at least the 60 day mark! You aren’t actually allowed to do so until then, anyway 😁
@ericroyer42
@ericroyer42 Жыл бұрын
Did all the steps right without any error but I can't reach the web panel at the end. Any idea why? (I'm using ubuntu 18.04 with aarch64 maybe this is the reason?)
@TerrorByteTW
@TerrorByteTW Жыл бұрын
I’m unsure as to why, are you receiving errors? Make sure your nginx server is running as well, you can check the status and any errors with “sudo systemctl -status nginx”. That’s two dashes btw, my phone’s autocorrect made it one haha
@liamrossborough80
@liamrossborough80 Жыл бұрын
Heyy there I was trying to set up pterodactyl panel for the last week and just couldn't get it working. I was using ubuntu 22.04. when I changed it to ubunutu 20.04 everything worked perfectly. Hope this helps.
@ericroyer42
@ericroyer42 Жыл бұрын
I didn't manage to make it work for reasons that I can't understand but I used another way to circle around the problem I used Multi word scripts (from the wiki) and in this way I know it won't break.
@jeffreyc7255
@jeffreyc7255 Жыл бұрын
I was able to follow all they way up to creating the node in wings. When I create "play..org" I get The fqdn could not be resolved to a valid IP address. Did I miss a step, do I need to enable anything in my router? Thanks for the help
@TerrorByteTW
@TerrorByteTW Жыл бұрын
If your FQDN can’t be resolved, it’s something to do with your DNS settings. FQDN’s shouldn’t resolve to internal IP addresses (192, 10, or 172). If you are using an internal IP address and don’t plan on having your node internet accessible, just use that instead. If you are self hosting the node, be sure you have port forwarding on in your router, and that you’ve pointed the Wings Daemon port to your wings instance internally. Then, be sure your FQDN resolves to your home IP. Remember, most ISP’s give residential customers non-static IPs, so your home IP could change at any time. That’s where a DDNS service would come in. ddclient is a fantastic one you can self host in Docker or anywhere, really. Hope this helps!
@jeffreyc7255
@jeffreyc7255 Жыл бұрын
Ok I only had "panel" in the custom DNS settings. I think I was supposed to have the wild card "*". And yes this is hosted internally, the dynamic IP is the next problem to tackle once I get this test server running. Asus has a free ddns service I hope to utilize. I will take a look at ddclient, do you have any videos/tutorials on setting that up?
@TerrorByteTW
@TerrorByteTW Жыл бұрын
@@jeffreyc7255 I don't, however from personal experience it's extremely easy to configure. Check the docs for more info! ddclient.net/
@jeffreyc7255
@jeffreyc7255 Жыл бұрын
thanks! got it all running. But How do I set it for bedrock edition?
@redbat1010
@redbat1010 Жыл бұрын
got all the way to restart nginx and boom errors. maybe i need a little more linux knowledge
@TerrorByteTW
@TerrorByteTW Жыл бұрын
Run this command and check the logs to see why it didn’t start. I almost guarantee it is a cert issue! “systemctl status nginx”
@redbat1010
@redbat1010 Жыл бұрын
@@TerrorByteTW thank you. i reinstalled. iwth nginx proxy manager. then i got the fact that both where trying to use port 80. got a self signed cert to check with i get the error of that. and when i say go anyways then i get nothing. going to be a long week. lol
@Hector-Romero
@Hector-Romero Жыл бұрын
ONLY 32 SUBSCRIBERS?
@TerrorByteTW
@TerrorByteTW Жыл бұрын
Lol thank you. I upload far and few between, but I’ve been meaning to remake this (as noted by the other comments saying the same thing lol). Having a newborn kinda breaks the flow though 😂
@lymankinney3467
@lymankinney3467 2 жыл бұрын
𝚙𝚛𝚘𝚖𝚘𝚜𝚖
@kaitos1052
@kaitos1052 2 жыл бұрын
I've already setup Pterodactyl with "Nginx without SSL" but now I learned that I may need SSL if I'm going to make a public server. I've got a domain setup with Freenom and Cloudflare and everything was working fine up until it was time to restart Nginx after configuring it. I couldn't get it restarted and in result it ended up breaking the panel. I couldn't use the panel after entering this command - "sudo systemctl restart nginx" Then it came up with a error saying - "Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details." "systemctl status nginx.service" Brought me this Jul 22 14:15:31 mcserver systemd[1]: Starting A high performance web server and a reverse proxy server... Jul 22 14:15:31 mcserver nginx[9621]: nginx: [emerg] "server_tokens" directive is duplicate in /etc/nginx/sites-enabled/pterodactyl.conf.save:1 Jul 22 14:15:31 mcserver nginx[9621]: nginx: configuration file /etc/nginx/nginx.conf test failed Jul 22 14:15:31 mcserver systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Jul 22 14:15:31 mcserver systemd[1]: nginx.service: Failed with result 'exit-code'. Jul 22 14:15:31 mcserver systemd[1]: Failed to start A high performance web server and a reverse proxy server. Im running a home server Ubuntu 20.04
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
That’s likely a configuration error. I’d run the status command to see what is going on and then go from there. I actually rewatched this tutorial myself recently to review it for a personal setup and, needless to say, it’s outdated already. I’ve been tempted to re-record it for recording’s sake, but just for now verify your NGINX config look at the service status and journal for more info
@kaitos1052
@kaitos1052 2 жыл бұрын
NVM after going to get something to eat and sitting back down and noticed that there was 2 "pterodactyl.conf" files "pterodactyl.conf and pterdactyl.conf.save" I deleted the "pterodactyl.conf.save" file then restarted Nginx and it all working again.
@TerrorByteTW
@TerrorByteTW 2 жыл бұрын
@@kaitos1052 great news!
My game is 262,000 times faster than Minecraft. I'll show you how.
12:20
IGoByLotsOfNames
Рет қаралды 863 М.
Secure TailsOS Setup For The Average Dark Web Enjoyer
18:00
Mental Outlaw
Рет қаралды 142 М.
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 42 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 121 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 47 МЛН
DIY Game Server With Pelican Panel and VPN Tutorial
45:24
Rui Cardona
Рет қаралды 1 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 632 М.
How to Set Up Paymenter: The Best Open-Source Hosting Panel!!
39:15
Coconut Gamer
Рет қаралды 2,1 М.
EASY Budget Minecraft Servers With Crafty
37:22
Hardware Haven
Рет қаралды 800 М.
Self Host 101 - Set up and Secure Your Own Server
25:56
Syntax
Рет қаралды 42 М.
How We Run & Host Hermitcraft
11:57
xisumavoid
Рет қаралды 881 М.
Host A Game Server When Your ISP Doesn't Want You To - NGROK
30:49
Hardware Haven
Рет қаралды 81 М.
Detect Hackers & Malware on your Computer (literally for free)
16:38
pfSense Firewall - pfSense Administration Full Course
3:35:47
Knowledge Power
Рет қаралды 517 М.
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН