Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th May 2006, 18:45
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
 
Talking sharedIP access to sites before they're live

Hi all,

While recently moving all my domains in house, I needed to test the content of a site before I actually moved the domain to my server.

Since I was unable to find any information about accessing a site with something like http://www.domain.tld/~my_site_name I decided to take a different route.

While some of the more technically oriented people are familiar with this, the average user or newb isn't, so here it is.

If you're on a Win2k/XP box, edit the hosts file generally located in c:\windows\system32\etc\drivers\ and add your local server's ip along with the domain name:

Code:
192.168.x.x       www.my_server_name.com my_server_name.com
Then open a command prompt and type in
Code:
ipconfig /flushdns
Close and reopen any browsers that you have an you'll be able to hit the domain in question directly.

If you're installing scripts on the server that make calls to the domain name, you'll need to edit /etc/hosts and also add the above ip / name info.

Just remember that once you're live, you need to remove these settings.

HTH

Cheers!
Ken
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig on a RaQ2 mattm Installation/Configuration 12 23rd January 2008 18:17
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02
different port for admin access & suspendind nonpaying sites timehost Feature Requests 2 27th December 2005 14:25


All times are GMT +2. The time now is 10:57.


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