OS Name/Version:
Ubuntu 24.04
Product Name/Version: (Always use the full version number - not ‘Latest’)
Not sure, used command line to install and do not know how to access the information
Problem Description:
hello! I’m fairly new to hosting servers on linux but after endless problems on my windows machine I decided I’d give it a try. I was recommended your AMP software and from what I can see it is everything I want and more to help me host my servers, only problem is when I go to type my domain name into my browser like instructed, I get the classic “problem loading page” instantly. I’m fairly new to this and have no idea where I’d even begin to look for others having this issue as it’s a fairly niche software and hobby. Any advice on how to unstick this little issue would be greatly appreciated, as I feel like I’m missing something fairly obvious that my inexperience isn’t helping with… I will say that during installation AMP told me something about being on a NAT and to make sure the ports 80 and 443 were forwarded properly, I am unsure of how to do this in nginx but I did do it router side for my server device.
If you're sharing console output, logs, or commands you have run, please make sure to use code tags
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.
Steps to reproduce:
Step 1 I have tried to mess with ufw settings and edited the nginx file
Step 2 get confused
Step 3 contact you guys
Actions taken to resolve so far: contact the wrong support team (sorry), and posting a question on the wrong forum (sorry again), I’ve also spent around 2 hours toying around with my port forwarding settings on my router as well as doing my best to learn how to allow open ports with nginx even though I don’t think I’m doing it right as it has no effect. Sorry for lack of info I’m new to all this stuff
Is this on a server you’re setting up at home? Try browsing to the internal IP of the server on port 8080. Port forwarding is something you do at your router, not nginx.
yes, this is a server I’m setting up at home. I attempted to browse to my local IP on port 8080 to receive the same “unable to connect” error. Is there a specific way I should have my DNS records set up on my domain? at the moment I just have the subdomain pointing to my external IP address of my computer.
When you use the automated HTTPS setup, the main panel is automatically bound to localhost. If you want to use plain HTTP in your local network, you can run: ampinstmgr rebind ADS01 0.0.0.0 8080
(ignore the warning about auth, things will still work fine)
In terms of DNS records that’s all you need to set it up, it could be that you’re unable to connect to your own public IP if your router doesn’t support “hairpinning”, you can sanity check that with a VPN or mobile data.
I did this, ran the required commands. stopped and started amp and still noting… not even with a VPN. I’ve tried to connect to all options via browser to no avail, internal and external IP, as well as domain. is there another port I need to forward maybe? or a setting somewhere blocking me from doing this? I’m not sure… maybe I should reinstall fresh? how would I go about uninstalling?
The only ports you need are 443 and 80 for HTTPS, though quick question, have you port forwarded game servers in the past? Asking because some ISPs don’t give their users a proper IP address, or don’t allow port forwarding even with the settings visible in the router.
A reinstall wouldn’t resolve this since it’s not really an issue with AMP as far as I can tell.
As a sanity check though, you could try running getamp postSetupHTTPS to see if it magically fixes itself when setting up again