Entering Full URLs and Handling Non-Qualified Hostnames

Full URLs with http://

Modern browsers usually combine the URL and search field into one. Because of this, sometimes the browser might interpret the URL you enter as a search query. To avoid this, always enter the full URL, starting with "http://". For example, a complete URL might look like this: "http://mywordpress.test".

Non-qualified hostname

If you use a hostname like "host1", this is considered a non-qualified hostname. It needs at least one more dot at the end. Without it, you may encounter issues when trying to access "host1". To fix this, add a dot to the hostname. For example, the full URL would be: "http://host1.". However, it's generally recommended to use fully qualified hostnames, such as "host1.namo" or "host1.mamp". Avoid using ".local" (for further explanation). By doing this, you'll prevent these issues from occurring in the first place.

Further information

For more details, you can read about Fully Qualified Domain Names onĀ Wikipedia.

Article Details

Article ID:
4
Category:
Rating :

Related articles