HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Viewing web sites without using their domain name? (http://www.howtoforge.com/forums/showthread.php?t=8333)

jameso 20th November 2006 07:13

Viewing web sites without using their domain name?
 
Hi everyone,

In cPanel, you could view a web site using the url http://serverip/~username/. This was useful for testing things out before the domain was delegated to the new server.

Is there a similar option in ISPConfig?

I wish to be able to view a web site and make sure things work before I point the domain to my new ISPConfig server.

Thanks very much.

James

Hans 20th November 2006 08:15

Within ISPConfig you can do this too.
If the user is marked as administrator, the website will be uploaded at URL http://mywebsite.com
If the user is not an administrator, the website will be uploaden at URL: http://mywebsite.com/~user

:)

till 20th November 2006 10:42

Quote:

Originally Posted by jameso
In cPanel, you could view a web site using the url http://serverip/~username/. This was useful for testing things out before the domain was delegated to the new server.

Is there a similar option in ISPConfig?

ISPConfig uses only namebased websites. But if you add a line to the hosts file on your (windows, mac or linux) workstation containing the IP of your server followed by the domain, you will be able to reach the website under the domain in your webbrowser.

jameso 21st November 2006 03:59

Thanks for the help Hans and till.

I think the hosts file will be the way to go.

It's slighly messy, but oh well.


All times are GMT +2. The time now is 18:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.