Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to edit the hosts file in my (dv) server. However, the file isn't under /etc. Where do I edit it in Mediatemple?

Any help will be appreciated.

share|improve this question

1 Answer 1

According to all of the resources I can find, specifically the Media Temple knowledge base, the hosts file should be located in the /etc directory.

How are you viewing the servers files? It could be that the hosts file is hidden.

Perhaps you could login via ssh and cd into the /etc directory and run ls.

You may find the following page useful:

http://kb.mediatemple.net/questions/663/System+Paths#dv_40

share|improve this answer
    
I've already found it. You have to log in as root. –  Dave Jul 16 '11 at 22:52

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.