New Users: Quick hosts file: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 117: Line 117:


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
==== Known Vista issue ====
If '''<nowiki>http://localhost/apanel</nowiki>''' fails with error message localhost/apanel '''has no data''' try
'''<nowiki>http://127.0.0.1/apanel/</nowiki>''' as an alternative. If this works you most likely have entries in the “hosts” file that are specific to IPv6 look for entries similar to these:
<pre>
:. localhost
or
:. 127.0.0.1
</pre>
Comment them out by adding a # (hash) at the beginning of each line for example:
<pre>
# :. localhost
or
# :. 127.0.0.1
</pre>
The "hosts" file should contain only these lines for IP 127.0.0.1
* '''127.0.0.1 localhost'''
* '''127.0.0.1 localhost:80'''
Restart the server; if already running type <nowiki>http://localhost/apanel</nowiki> or <nowiki>http://localhost/a</nowiki> into your browser and Apanel will display.
'''''[[#top | Top]]'''''
=== Edit XP hosts file ===
=== 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.
There are no restrictions on who can edit XP’s “hosts” file, hence you can use any text editor of your choice.

Navigation menu