If you would like to be put a system's name in your web browser, e.g., ajax, into your browser's address bar and have the system automatically append a domain name, e.g. example.com, so that the browser attempts to access ajax.example.com, even though you just typed ajax, you can modify the Domain Name System (DNS) search domain settings. To do so on an Apple OS X/macOS system, take the following steps:
- Click on the Apple icon at the top, left-hand side of your screen.
- Choose System Preferences then Network.
- Select the relevant network service, such as Wi-Fi or Ethernet, then click on the Advanced button.
- Click on DNS.
- Click in the Search Domains box and then click on the "+" at the bottom of that box to add a new search domain.
- Type the name of the search domain, e.g.
example.com
. - Click on OK
You can add multiple domains; domains will be searched in the order you list them with the search starting at the topmost entry and continuing down through the list of domains with the search stopping when a valid name is found.
[ More Info ]