I found the answer to this here: https://moodle.org/mod/forum/discuss.php?d=387587#p1562603
Installing and upgrading help
moodle 3.7+ installation says This site can’t be reached
This discussion has been locked so you can no longer reply to it.