Newb: How to test a site locally?

Discussion in 'General' started by Slowhand, Jun 9, 2009.

  1. Slowhand

    Slowhand New Member

    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: Jun 9, 2009
  2. Slowhand

    Slowhand New Member

    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
     
  3. Slowhand

    Slowhand New Member

    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... :p

    S
     
    Last edited: Jun 9, 2009

Share This Page