PDA

View Full Version : Newb: How to test a site locally?


Slowhand
9th June 2009, 13:03
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

Slowhand
9th June 2009, 13:33
Sorry, it came to me...

I edited my /etc/.hosts file on my *client* computer (OSX) and added

192.168.0.55 www.testsite.co.uk


Just in case it helps anyone else...

S

Slowhand
9th June 2009, 13:36
Sorry, it came to me...

I edited my /etc/.hosts file on my *client* computer (OSX) and added

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

S