How to access host files?

how to access host files?

Easy and not depends on your software version:
press Shift+cmd+G while your finder window is open and active, you will get a new window with the field where you can write /etc/hosts
Anyway to edit hosts file you should open it with the sudo command, this can be done in terminal window, not in Finder. Also easy and can be done next way:
press Shift+Cmd+U while Finder window is open and active, then choose Terminal.app, and after it opens enter sudo nano /etc/hosts. You will be asked for password - this is the password you enter then you installing new application. You should know few commands to edit your hosts file:
Previoius page/Next Page of the file - Ctrl+Y/Ctrl+V
Add record - Input the text you need on the last free line of the file and then press Ctrl+O
Delete record - put cursor on the line you want to delete and press Ctrl+K
Undo - Ctrl+U
Exit - Ctrl+X
After edit your hosts file you should update DNS records - in terminal window enter the command dscacheutil -flushcache
But if you really don't know what are you doing, my advice is do not touch your hosts file, ask for professional to do his job. Just like I'm doing usually. )))

Similar Messages

  • I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files?

    I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
    HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
    OS X version 10.9.2

    Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
    Now
    Have you tried to repair the disk yet

  • I have a  new iMac   cannot find how to access my files in Dreamweaver

    I cannot find how to access my files,  as I am now using Yosemite and it is all a different layout .
    can anyone get me started please
    Clicking on the cloud icon is no help

    Copy the entire /Music/iTunes folder to /Music/ on the new computer.
    That is all you need to do.

  • How to access xml file using c

    how to access xml file using c. are there any libraries regarding xml fastinfoset in c? Please let me know about any resources if u know? thanks!!!
    samitha

    There are different methods to access XML data which have pro's and cons. Let us know more about what you want to do and we can help you.

  • How to access pdf files on icloud with iphone

    Does anyone know how to access pdf files on icloud when saved to icloud on a mac?

    At the moment, you can't.  A favourite complaint.  Hopefully, the situation will change in the near future, but only Apple knows when or if.

  • How to change host file?

    Hi guys,
    I would like to install 9iAS 9.0.2 Oracle Portal on my XP machine.
    Problem:
    My host like this:
    127.0.0.1 localhost
    AND my computername contains an UNDERSCORE.
    How can I change the hosts file? And how must it look like? I have no fix IP Adress at the moment.
    Thank you for help.
    cheers,
    Bernd

    in short...
    You'll need a static IP address
    your host file will look like
    127.0.0.1 localhost
    10.1.1.10 www.server.com www
    where 10.1.1.10 is your static IP, and the www.server.com is the name for which you want to access your portal site.

  • How to access my files

    My main computer (G5) failed and it's been repaired. But for the time being I'm working with my laptop. When I try to access my files in Time Capsule (Time Machine) I don't get the option to look at my G5 backups. When I click on the Time Capsule Icon in the side bar of the Finder window I see the G5 Sparse Disk Image Bundle that is 228.35 GB
    How can I get the files I need from the G5 backups in Time Capsule?
    Blue skies!!
    Jerry

    It's very very simple.
    Just double-click to mount the sparsebundle image.
    Drill down a bit, and then you will see folders that are arranged in dates with the latest copy called "Lastest".
    After you're done just unmount it.

  • How to access Trace file in storage account

    Hi,
    I am new to Azure Cloud, I would like to know how to access the trace file stored in Storage account.
    We have implemented diagnostics & traces, I have no idea how to access the trace file.
    I have no idea what are the folders created inside the storage account and where the trace files are stored.
    Would some one help me?
    Thank you!

    Hi,
    In addition, you could use Azure Storage Explorer (https://azurestorageexplorer.codeplex.com/) to search your trace files.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to access Excel files from different locations?

    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

    The custom function sets the MS-Excel default directory to System.getProperty("user.dir")+"/excel"
    (the domain directory), then opens the filename passed as a parameter. I assume
    that if you pass in the fully specified path for the excel file ( like d:\MyDir\data\test.xls),
    that it would open that file.
    - Mike
    "Ashok Gupta" <[email protected]> wrote:
    >
    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run
    it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files
    from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

  • How to access the file in the WEB-INF Folder

    hi..
    i want to access a xml file, using servlet, which is placed under WEB-INF folder.
    Please tell me how can i access the file.
    I am using WSAD to develop the application
    Thanx in advance.

    I haven't tried accessing an XML file that is placed in WEB-INF folder.
    Files under WEB-INF are usually protected from client/browser access, but a Servlet may be able to access it (not sure though).
    What problems are you facing when you try to access an XML file in the WEB-INF folder?
    If you can't access it from the WEB-INF folder , place it in any folder except the WEB-INF folder.
    Also, if you want to protect the XML file then you could password protect it or deny access to it via .htaccess file, or simply return a 403 forbidden header.

  • How to access ireport file in jdeveloper

    hi,
    I generate design file from ireport and need to know how to access that .jasper file from jdeveloper.
    regards

    User,
    Did you review any of the 274 posts that come up when you search the forum for "jasper" to see if your question might already be answered?
    John

  • How to access database file on CDROM from Java Programe??

    Hello friends,
    I am making online exam application.
    I want my question database to be reside on CDROM.
    but i am not getting any idea how to make DSN or static path that resolute the path that i have mentioned for CDROM.
    basically i want to know how to access CDROM from Java Programe????
    Thanks in advance
    Navik Pathak

    Once you mounted the CDROM (something maybe as /media/cdrom) as a file system (or assigned a drive letter to it like D: or F: or whatever), the files are accessible normally.

  • How to edit host file...

    I have ICS on my SK17i  . I want to edit my /etc/host file. How  is it possible.
    Solved!
    Go to Solution.

    Since host file is a system file
    You need to root your phone and then use root explorer > mount R/W > open with text editor
    May i know what actually you want to do ?
    Why do you want to edit host file ?
    Discussion guidelines.
    Message me or any other moderator to seek help regarding moderation.

  • Backing up your mac to external drive and how to access individual files

    I have managed to back up the information on my computer to a external drive as a whole but need to access different files, projects so that i can then delete them from my computer to save space. how do I access the different files on my external drive???

    You CAN access the backed up file from a time machine backup. Just attach the external drive you used for time machine backups to your notebook and then Start Time machine (First under preference - slide the switch to "off" so it does not start an automatic backup right then) Once you open the backup files in Time Machine on your Notebook you can navigate back to older backups to get to that file. (Even if you've deleted it on your notebook after having backed up that file)
    NOW - I would recommend having another back up, like the other poster, before you delete the file from your notebook. Redundancy is a good thing. The way time machine works is that over time as your external drive begins to fill it will delete the oldest backup(s) and you could potentially loose that file forever.
    I have two other back ups - I have a Super Duper (exact) cloned version of my MBP on a second ext. hard drive. Now, this would not work for you since you want to delete that file from your MBP. Since it is an exact copy if you delete that file from your notebook and then go back to do a back up with Super Duper it would delete that file on the cloned version on your ext. hard drive (too keep them exactly the same). There may be other settings to avoid this, but I generally just use it as a clone. I also have a 3rd mobile hard drive where I set up folders for files I want to keep forever and just drag and drop those onto this drive.
    You can cut down on having too many ext. drives if they have a big enough capacity by partitioning them in Disk Utility. (i.e one big drive with a partition for Super Duper and another for standard backups)
    Hope that helps a bit.
    Thanks.
    Mark

  • How to access the files from HTML region

    Hi,
    Which command or query should we use , if I want to access any file like i have a excel file stored in shared components/static files .

    See this example:
    http://apex.oracle.com/pls/otn/f?p=31517:15
    it explains how.
    Also, read this:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_new_features.html#02
    Declarative BLOB Support
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • Question about the DB adapter

    Question about the DB adapter ns2006.0.7 Question: It seems that we can only have 1 db adapter, but in the adapter defiition we have to specify the database.  If I want to communicate to several different databases on different platforms, Oracle / SQ

  • When I export PDFs from Illustrator CC my files are coming out as white pages.

    I've never had this issue before. I recently updated to Mac OS Yosemite and now this is happening. Mac OS Preview will see the files as created in Illustrator, but Adobe Acrobat will open them as White Pages.

  • HT1531 netflix requires intel based, but I have a power PC (old power book G-4) are there any work arounds?

    I have an older Power book G-4 with 1.67 GHz powerPC G-4 mac osX 10.5.8 but cant get Netflix to work as they require an Intel based  to work Are theere any work arounds for this, as this used to work but Netflix requires an Intel based system now Hel

  • Reversal of 553 mvt type document

    Dear Gurus, During making of Usage Decision, user posted rejected stock in scrap which has no storage location, and it goes to cosumption, by 553 mvt, now we have to reverse that document. I know that after making usage decision posting is not possib

  • Iphoto distorts Raw images on import

    Good Afternoon, Please could some one help with a problem that has started to occur with my RAW images which i have been trying to import from My Canon 700d When importing to iphoto the pictures seem to distort and either as below go multi coloured o