[xwiki-users] Changing of the localhost
On my first try, the Windows command prompt gave http://idea-PC:8080/ as a directory of my wiki. The next day, the command prompt gave me a different directory which was http://tonec.com:8080/, although I can still access the first directory given to me. I prefer using the first directory, since tonec.com is related to other software (the program might have made a mistake in choosing the directory). How can I make the default directory back to the first?
On 5 Jun 2015 at 04:54:24, Carlo Tac-an ([email protected](mailto:[email protected])) wrote:
On my first try, the Windows command prompt gave http://idea-PC:8080/ as a directory of my wiki. The next day, the command prompt gave me a different directory which was http://tonec.com:8080/, although I can still access the first directory given to me. I prefer using the first directory, since tonec.com is related to other software (the program might have made a mistake in choosing the directory). How can I make the default directory back to the first?
These are not directories… :) They are the qualified domain name for your computer’s IP… You computer can have several IP addresses and thus several host names. If you want to use one IP over another, just configure your Servlet Container to use the correct IP (for Jetty see http://www.eclipse.org/jetty/documentation/current/configuring-virtual-hosts... for example). You could also check what “localhost” is bound to and use http://localhost:8080 -Vincent
participants (2)
-
Carlo Tac-an -
vincent@massol.net