Arc Forumnew | comments | leaders | submitlogin
Ask: Redirect news.arc to domain name?
1 point by repos 4983 days ago | 3 comments
This is probably a very noobish question, but currently I have news.arc set up such that I can access it from the IP address of my cloud server. Something like http://XX.XX.XXX.XXX:8080.

I pointed my domains nameservers to my hosting company, and the DNS has propagated (my domain points to the IP address of the server). But when I try to load mydomain.com , it doesn't show news.arc - it either doesn't load anything or loads the parked page of my domain registar.

Is there any configuring I have to do to get news.arc to work with a domain name?

Thanks!



3 points by rocketnia 4983 days ago | link

Have you tried mydomain.com:8080?

A link like http://example.com/ with no port goes to port 80 (the same as http://example.com:80/).

-----

1 point by repos 4983 days ago | link

The guys at HackerStreet India pointed me in the right direction, all you have to do is change the port number from 8080 to 80 here: https://github.com/rick2047/arc/blob/master/news.arc#L83

Or configure an nginx server that does it for you.

-----

2 points by akkartik 4983 days ago | link

Yeah the benefit of nginx is that you don't have to run arc as root.

Also, you should be aware of the gotcha with srv.arc if you haven't seen it already: https://sites.google.com/site/arclanguagewiki/arc-3_1/known-.... Though I'm not sure if it applies to your repo..

-----