Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th June 2009, 13:03
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default Newb: How to test a site locally?

Hi,

My ISPc3 install now seems Ok. (Thanks you guys!)

I have created a test client and a test site but can't figure out how to get to the welcome page of the new site.

I can see the web folder in
/var/www/www.testsite.co.uk/web and the index.html file within that.

My server isn't facing the internet yet, it's on 192.168.0.55.

If I go to http://192.168.0.55/www.testsite.co.uk/web/index.html
or http://192.168.0.55/www.testsite.co.uk/index.html

I get: Forbidden
You don't have permission to access /www.testsite.co.uk/index.html on this server.

Where should I be looking?

Slowhand

Last edited by Slowhand; 9th June 2009 at 13:20.
Reply With Quote
Sponsored Links
  #2  
Old 9th June 2009, 13:33
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Sorry, it came to me...

I edited my /etc/.hosts file on my *client* computer (OSX) and added
Code:
192.168.0.55 www.testsite.co.uk
Just in case it helps anyone else...

S
Reply With Quote
  #3  
Old 9th June 2009, 13:36
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by Slowhand View Post
Sorry, it came to me...

I edited my /etc/.hosts file on my *client* computer (OSX) and added
Code:
192.168.0.55 www.testsite.co.uk
Just in case it helps anyone else...

S
But I find this doesn't work with ftp...

What ftp settings can I use?

Edit: It *does* work with ftp. I didn't see that my username was testsitesimon. I thought it was just simon.

Getting there...

S

Last edited by Slowhand; 9th June 2009 at 13:53.
Reply With Quote
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
Test a site with php locally? bidevi General 1 27th August 2008 16:28
change a test site into a live one? alexwalkey Installation/Configuration 2 25th October 2007 09:01
Help me PLEASEEEE - PHP Griff Installation/Configuration 21 27th July 2007 19:29
how to test a site on local network fuchsbox Installation/Configuration 4 17th December 2005 08:34
Test site?? timbo Installation/Configuration 5 20th November 2005 14:54


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


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