Get domain from URL

How to get the domain from the URL? It depends!Lately i've spent some time trying to figure out … [Read more...]