Product Name/Version: AMP version 2.5.0.12 (Callisto), built 31/05/2024 14:46
Problem Description: Domain redirect fails, I have never done this before and I am very lost. I own huzzahgamers.com and I have it hosted on Cloudflare. I am stuck there for 60 days because I just transferred out of Google domains.
Steps to reproduce:
Step 1.) Added A Name, amp. huzzahgamers. com pointing to my external IP address x.x.x.x and its proxied.
Step 2.) port 8080 forwarded to internal iP Address and port 8080 of server x.x.11.109
Step 3.) Opened web browser and went to amp. huzzahgamers. com
Actions taken to resolve so far:
I have tried opening the ip address x.x.11.109:8080 on the server hosting AMP and the web service works, however opening with amp.huzzahgamers.com fails to redirect.
I have no idea how to word the question, I just need help redirecting I guess?
EDIT: I had to put spaces in the URLs because there is a hard limit or two links for new posters… That is not helpful btw…
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
#Generated by CubeCoders AMP for ADS
server {
server_name amp.huzzahgamers.com;
client_max_body_size 100M;
proxy_request_buffering off;
proxy_buffering off;
proxy_pass_request_body on;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header X-AMP-Scheme $scheme;
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
proxy_http_version 1.1;
proxy_redirect off;
proxy_buffering off;
client_max_body_size 10240M;
error_page 502 503 504 /NotRunning.html;
location = /NotRunning.html {
if ($http_accept ~ json) {
return 502 "{'Status': false, 'Reason':'This AMP instance is offline or in maintainence mode.','ErrorCode': 502, 'success': false, 'resultReason':'The authentication server is offline or in maintainence mode.'}";
}
root /opt/cubecoders/amp/shared/WebRoot;
internal;
}
location /shared/ {
alias /opt/cubecoders/amp/shared/WebRoot/;
}
}
listen [::]:443 ssl http2 ipv6only=on; # managed by Certbot
listen 443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/amp.huzzahgamers.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/amp.huzzahgamers.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = amp.huzzahgamers.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
listen [::]:80;
server_name amp.huzzahgamers.com;
return 404; # managed by Certbot
}