As a little memo: the interactive link anatomy
—
In short (assuming a location of http://example.org:8888/foo/bar#bang
):
hostname
gives youexample.org
host
gives youexample.org:8888
As a little memo: the interactive link anatomy
—
In short (assuming a location of http://example.org:8888/foo/bar#bang
):
hostname
gives you example.org
host
gives you example.org:8888