- Open System Preferences.
- Open Network settings.
- Your active network connection should be selected on the left. Select it if it is not. Click the "Advanced" button towards the bottom right hand corner.
- Select the DNS tab.
- On the right hand side is a column "Search Domains." It will probably already have your domain name listed, but it will be "greyed" out so that you can't remove it. That's OK. Click the "+" sign at the bottom of the column, and type the domain name again.
- You should now have the domain name listed twice. One will be grey, the other black. This is good, believe it or not. :-)
- Click OK.
- Click Apply.
Read more...