Results 1 to 6 of 6
Thread: View site without domain
-
06-30-2009, 09:18 PM #1Newbie
- Join Date
- May 2008
- Posts
- 15
View site without domain
Alright so I have this VPS but I want to setup the site before i tell my domain to point to the new VPS.
I'm using LXLAB KLOXO, and apprently its http://ip/~username
that only gets me a 403 forbidden. Where can I unforbid it, so i can install the CMS and setup my site?
-
06-30-2009, 11:46 PM #2Newbie
- Join Date
- May 2008
- Posts
- 15
ok so i was right on how to view my VPS web site without a domain, but I always get a 403 error when i try to view a .php file. I'm using lighttpd, with kloxo lalabs. the lighttpd.conf file looks ok, i don't see it denying any .php ext files.
-
07-01-2009, 01:35 AM #3Junior Guru
- Join Date
- Apr 2007
- Location
- Calgary, Canada
- Posts
- 201
Did you check your file permissions? Usually it's 755 for directories, 644 for files.
Do you have auto indexing enabled too? Can you access a specific file? eg: http://<ip>/~user/somefile.php
-
07-01-2009, 02:34 AM #4Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
If this helps, you can also "fake" your dns, I assume your workstation used for testing is Windows...if not, holler back -
open your
C:\windows\system32\drivers\etc\hosts file
you'll see
127.0.0.1 localhost
below what, put the IP and web site addresses you want to fake..as in
192.168.4.30 mydomain.com
192.168.4.30 www.mydomain.com
Save it, and this overrides all DNS, when you ping "mydomain.com" you'll see it actually resolved to the IP you specify. You'll need one entry for each host / domain you want to test...even if it's just adding a www to the front, as is the example above.
A 403 forbidden can be two things...either the file does not have permissions (try 755) or you are hitting a directory with no files, and are not allowed to list files (directory browsing).This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
07-01-2009, 10:53 AM #5Newbie
- Join Date
- May 2008
- Posts
- 15
permissions are all set correct, i found out last night it was something to do with fastcgi needing to get activated.
I can easily goto any html but not php.
-
07-01-2009, 07:18 PM #6Newbie
- Join Date
- May 2008
- Posts
- 15
i gave up. went with apache again
Similar Threads
-
Can't view site by IP
By SupportRep911 in forum Dedicated ServerReplies: 2Last Post: 07-28-2007, 05:18 PM -
I cannot view my site.
By xlogger in forum Hosting Security and TechnologyReplies: 2Last Post: 05-22-2005, 12:44 PM -
Cant view my own web site
By boonchuan in forum Other ReviewsReplies: 4Last Post: 05-06-2005, 08:16 PM -
Could you view this site?
By wheimeng in forum Web HostingReplies: 9Last Post: 11-07-2003, 09:05 PM -
please can you re-view our site?! :))
By ^Bazza^ in forum Web Site ReviewsReplies: 12Last Post: 07-23-2002, 10:12 AM