Good day Dave,
I've started having a look at this and am running into some issues.
I configure my DNS via CloudFlare.
When I browse to
http://scriven.chrisdadswell.co.uk I get an S3 error telling me there is no /index.html. Which is correct. The only files in the root of the S3 bucket are directories,
users and
data.
I was wondering, does the fargoPublisher have to run on port 80 to be able to perform the redirect? Currently my pub is running on 8080. And of course when I hit
scriven.chrisdadswell.co.uk I'm hitting it on port 80.
I probably have the wrong end of the stick, but just wanted to clarify this either way.
Interestingly, when I try and run the pub on port 80 on my server I get an error;
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EACCES
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1023:19)
at listen (net.js:1064:10)
at Server.listen (net.js:1138:5)
at Object.<anonymous> (/home/scriven/fargo/publisher.js:801:5)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
The error seems to suggest something is already on port 80. So looking into that with ss,netstat and lsof I couldn't find a single thing running on that port. A bit odd, but I'll keep looking.
I'm beginning to wonder whether I need to use Amazon Route 53 for my DNS management. Do you use Route 53?
In any case I'd really like to get this working correctly, so any help gratefully received.
All the best,
Christian.