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=25)
-   -   Newb: How to test a site locally? (http://www.howtoforge.com/forums/showthread.php?t=36161)

Slowhand 9th June 2009 13:03

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

Slowhand 9th June 2009 13:33

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

Slowhand 9th June 2009 13:36

Quote:

Originally Posted by Slowhand (Post 193001)
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... :p

S


All times are GMT +2. The time now is 23:33.

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