MikeJones 0E800 So I am getting really close. Just re-installed from the script but when I go to the new IP I get an index of/ and it snot displaying flarum: http://54.227.192.96/
0E800 You created a new AWS instance and reran the script or you rebooted the instance you had before and reran the script on top of the old one?
MikeJones 0E800 ubuntu@ip-172-31-26-103:~$ sudo cat /var/log/nginx/error.log 2018/04/19 22:15:05 [emerg] 3001#3001: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:05 [emerg] 3001#3001: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:05 [emerg] 3001#3001: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:05 [emerg] 3001#3001: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:05 [emerg] 3001#3001: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:05 [emerg] 3001#3001: still could not bind() 2018/04/19 22:15:51 [emerg] 7615#7615: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:51 [emerg] 7615#7615: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:51 [emerg] 7615#7615: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:51 [emerg] 7615#7615: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:51 [emerg] 7615#7615: bind() to 0.0.0.0:80 failed (98: Address already in use) 2018/04/19 22:15:51 [emerg] 7615#7615: still could not bind() ubuntu@ip-172-31-26-103:~$
MikeJones 0E800 Yes I ran script with sudo ubuntu@ip-172-31-26-103:~$ ls /var/www/ 54.227.192.96 html ubuntu@ip-172-31-26-103:~$
MikeJones 0E800 looks like my post with the log output is awaiting approval so here is the pastebin version
0E800 Possibly using an IP address as a name causes an issue. What is output of cat /var/nginx/sites-enabled/54.227.192.96
0E800 I don't think the script was able to handle the IP address for a name. Sorry bud, need to redo and run script like you did last time using seekadventure and then edit the file like last time.
0E800 MikeJones When you start having dreams about configuring Flarum, then you know it's time to take a break. ?
MikeJones 0E800 When I tried to restart the nginx I got this: ubuntu@ip-172-31-17-39:~$ sudo systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. ubuntu@ip-172-31-17-39:~$ ubuntu@ip-172-31-17-39:~$
MikeJones 0E800 either way I still get the same error as before when visiting the IP in the borwser: http://107.21.79.144/