Results 1 to 8 of 8

Thread: 404 Not Found

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    17

    404 Not Found

    Making progress but I am not being able to access http://mydomian.com or http://www.mydomain.com

    I get a 404 page not found. Interesting thing is the the error states
    The requested URL /mydomain/ was not found on this server.

    FTP works perfectly - it goes to the correct folder.

    Shouldn't it show /mydomain_com/?

    I also tried http://mydomain.com/index.html

    As I mentioned FTP works and the index.html (generic) is there.

    DNS is outside the ZPanel box and is correct as well.

    I am on Fedora 17. If this is an issue with Fedora I can restart with Centos

  2. #2
    ZPanel Support Team Markwow's Avatar
    Join Date
    Jul 2010
    Location
    Georgia, US
    Posts
    804

    Re: 404 Not Found

    It seems like the path to your domain's files is incorrect. Open up your vhost file and ensure that the path to your documents for the domain is correct with where your files are being stored.
    Last edited by jj_norris; 01-07-2012 at 09:07 PM.
    If I help you with something please give me +REP
    Want a Template ported for ZPanel? Send me a PM with the link and I'll do it ASAP
    Markwow.us

  3. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    17

    Re: 404 Not Found

    search for vhost give me

    /etc/selinux/targeted/modules/active/modules/vhostmd.pp
    /var/www/manual/vhosts
    /var/www/manual/rewrite/vhosts.html
    /dev/vhost-net
    /usr/lib/modules/3.4.3-1.fc17.x86_64/kernel/drivers/vhost
    /usr/lib/modules/3.4.3-1.fc17.x86_64/kernel/drivers/vhost/vhost_net.ko
    /usr/src/kernels/3.4.3-1.fc17.x86_64/drivers/vhost
    /usr/src/kernels/3.4.3-1.fc17.x86_64/tools/virtio/vhost_test
    /usr/src/kernels/3.4.3-1.fc17.x86_64/include/config/vhost
    /usr/src/kernels/3.4.3-1.fc17.x86_64/include/linux/vhost.h
    /usr/include/linux/vhost.h

  4. #4
    Junior Member
    Join Date
    Jun 2012
    Posts
    17

    Re: 404 Not Found

    you were referring to httpd-vhosts.conf

  5. #5
    Junior Member
    Join Date
    Jun 2012
    Posts
    17

    Re: 404 Not Found

    so httpd-vhosts.conf seems correct.

    DocumentRoot "/var/zpanel/hostdata/user/public_html/mydomain_com"

  6. #6
    ZPanel Developer Caffeine Addict's Avatar
    Join Date
    Feb 2010
    Location
    Sittingbourne, Kent, England
    Posts
    5,096

    Re: 404 Not Found

    That looks right... is the httpd-vhosts.conf file being included in the main httpd.conf for apache?
    Kevin Andrews ~ ZPanel Core and Module Developer | Follow me for ZPanel updates
    Software Developer for Influential Software
    Runs zVPS.co.uk - Support Zpanel and Buy your VPS with us!
    Follow us on twitter for news on VPS offers and ZPanelX updates!

  7. #7
    Junior Member
    Join Date
    Jul 2012
    Posts
    1

    Re: 404 Not Found

    I have the exact same problem, and I can't find httpd-vhosts.conf or httpd.conf anywhere on the server. It was a clean 11.10 Ubuntu Server install, and I used the automatic script made by Caffeine. Any ideas?

  8. #8
    Junior Member
    Join Date
    Jul 2012
    Posts
    1

    Re: 404 Not Found

    I can simply quote Winterstick. But, the OS I was using was Ubuntu 12.04.

    It was not a clean install (I removed the whole LAMP-stack, I made sure it was completely removed), i had proftpd on the server, which I forgot to delete, but looking through the installationlog, I did'nt find any major problems, just a few warnings.

    I ended up with 404 error (not found), both on "panel.mysite.com", and "www.mysite.com". It seams to me that the autoinstaller is somewhat buggy...

    --------------

    First: I added both the original httpd-vhost.conf, and httpd.conf, and altered httpd-vhosts.conf to my spesifications (Name to panel.mysite.com, and Alias to *.panel.mysite.com)

    But I tryed a billion things, not worth mentioning, as they al resulted the same way...

    I've looked trough:http://planet.zpanelcp.com/doku.php?...llation_script
    I matched apache-configuration (httpd-vhosts.conf). httpd.conf is matched to the downloded original file (from sourceforge). And added the following to /etc/hosts:
    127.0.0.1 panel.mysite.com

    But that last part I cannot make sense of, as it just loops all outgoing data aimed at panel.mysite.com back to localhost/127.0.0.1, anyways I added it.
    It's in use by zpanel somhow, so I don't need to know any more


    I found that some files might have been left behind from my LAMP-stack, but none that should be of any consern:
    Code:
    root@******:/etc/apache2/sites-enabled# ls
    mysite
    Should not matter as sites-enables is not in use, I believe it was commented out by the installationscript for zpanel.

    ----------
    The person over me got the same problems, but with a clean install that is... Something is wroooong :P
    Last edited by warpie; 02-07-2012 at 01:36 AM. Reason: More information...

Tags for this Thread

Bookmarks

Posting Permissions

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