1,478
edits
mNo edit summary |
|||
Line 91: | Line 91: | ||
'''''Note:''''' You may use a different loop back address as mentioned above. | '''''Note:''''' You may use a different loop back address as mentioned above. | ||
'''''[[#top | Top]]''''' | |||
=== Edit Vista hosts file === | |||
The “hosts” file is very powerful it allows any address typed into to a browser to be redirected to any IP address. To prevent this file being hijacked Vista imposes restrictions to who can edit this file. A consequence of this security makes it difficult for legitimate users to modify it. | |||
To successfully modify the hosts file, you need to run notepad.exe as an administrator otherwise Vista will not let you save the edits, it complains you don't have permission. | |||
Use the following method to edit the “hosts” file: | |||
# Browse to Start -> All Programs -> Accessories | |||
# Right click "Notepad" and select "Run as administrator" | |||
# Click "Continue" on the UAC prompt | |||
# Click File -> Open | |||
# Browse to "C:\Windows\System32\Drivers\etc" | |||
# Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)" | |||
# Select "hosts" and click "Open" | |||
# Add the following lines:<br> '''127.0.0.1 localhost'''<br> '''127.0.0.1 localhost:80'''<br> (Add any additional lines as required) | |||
# Close Notepad, when prompted click save. | |||
'''''Note'':''' Uniform Server requires two entries in the “hosts” file (see step 8). The first line is required it’s the standard loop back address, while the second line prevents an error message being displayed in the Vhost section of Apanel. | |||
With the lines added to “hosts” file check Apanel is accessible by typing the following into your browser: | |||
<nowiki>'''http://localhost/apanel'''</nowiki> or <nowiki>'''http://localhost/a'''</nowiki> | |||
'''''[[#top | Top]]''''' | |||
=== Edit XP hosts file === | |||
There are no restrictions on who can edit XP’s “hosts” file, hence you can use any text editor of your choice. | |||
It’s worth periodically checking the “hosts” file for any rouge entries especially if your anti-virus or other protection programs have detected a problem. | |||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 192: | Line 222: | ||
| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] | | [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] | ||
|} | |} | ||
[[Category: UniCenter]] | [[Category: UniCenter]] | ||
[[Category: New Users]] | [[Category: New Users]] | ||
[[Category: Support]] | [[Category: Support]] |