hugo server runs an actual built-in web server, normally on port 1313, but you may set it to anything, even port 80. With that, you don't even need to have Apache running, and just run:
$ sudo hugo server --watch --baseUrl=http://yoursite.org/ --port=80 \
hugo server -h to see a description of all these options.
sudo alert! Need to be root to serve at port 80.
hugo server this way, the links will point to "http://yoursite.org/" rather than to "http://localhost:1313/". Yes, you must specify
--baseUrl on the command-iine for this use case. You might want to add
I am not sure if you really want to use
hugo server though, as you seem to be happy with the Apache setup. You may accomplish the same effect with Apache running on port 80 and serving the
public/ directory that Hugo generates, while you also run
hugo to watch and refresh the web files after each edit:
$ hugo --watch
That's all you need to do to have your website re-generated automatically every time you save a
*.md content file in your text editor that you access through SSH, if that is your preferred workflow. :-)