Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

(Without thinking much) I set up my Mac mini server and used an actual domain name I use as the computer's host name.

I've since changed the host name to something that isn't an actual website, but I'm unable to navigate to the original hostname/domain. I've tried changeip in the terminal as well, as well as flushed DNS in case it was cached there as well.

How do I get Lion to reach out to the WWW to find this domain?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I was able to fix this by removing this from /etc/named.conf

I'm now able to navigate to example.com.

zone "example.com" IN {
    type master;
    file "db.example.com";
    allow-transfer {
        none;
    };
    allow-update {
        none;
    };
};
share|improve this answer
add comment

In terminal enter:

hostname -fs

That will tell you the hostname of your machine. You may need to edit your hosts file:

sudo nano /etc/hosts

If your machine is listed in the there simply remove it and then control-w to save the change.

share|improve this answer
    
The hosts file only contains the expected references to localhost — 127.0.0.1 etc — while hostname shows the current hostname. Still no luck... –  Than Aug 22 '11 at 18:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.