Results 1 to 6 of 6
  1. #1

    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?

  2. #2
    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.

  3. #3
    Join Date
    Apr 2007
    Location
    Calgary, Canada
    Posts
    200
    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

  4. #4
    Join Date
    Mar 2009
    Location
    Austin Tx
    Posts
    2,001
    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)

  5. #5
    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.

  6. #6
    i gave up. went with apache again

Similar Threads

  1. Can't view site by IP
    By SupportRep911 in forum Dedicated Server
    Replies: 2
    Last Post: 07-28-2007, 05:18 PM
  2. I cannot view my site.
    By xlogger in forum Hosting Security and Technology
    Replies: 2
    Last Post: 05-22-2005, 12:44 PM
  3. Cant view my own web site
    By boonchuan in forum Other Reviews
    Replies: 4
    Last Post: 05-06-2005, 08:16 PM
  4. Could you view this site?
    By wheimeng in forum Web Hosting
    Replies: 9
    Last Post: 11-07-2003, 09:05 PM
  5. please can you re-view our site?! :))
    By ^Bazza^ in forum Web Site Reviews
    Replies: 12
    Last Post: 07-23-2002, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •