Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: how to creat vhost the right way... - some beginner question

  1. #1

    Default how to creat vhost the right way... - some beginner question

    hello Team,


    tried to create a vserver with webmin

    the browser says:

    Forbidden:
    You don't have permission to access / on this server.
    well - first question: did i succeed in configuring the name-server?

    i think so - since i have a response with the url....



    apache: don't have permission to access / on this server. when I am using virtualhost

    cf here
    apache - Error message "Forbidden You don't have permission to access / on this server" - Stack Overflow
    apache: don't have permission to access / on this server. when I am using virtualhost - Stack Overflow
    Virtual host setup, no permission to access problem - The SitePoint Forums
    Apache2: Forbidden You don't have permission to access /dir/ on this server - Ask Ubuntu

    note: i use webmin - so what to do?
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  2. #2

    Default Re: how to creat vhost the right way... - some beginner question

    hello - even worse

    btw, at some point iit says:
    Failed to create virtual server : A virtual server with the same name and port already exists
    but believe me - i cannot see it in the list.


    question jf j get a 404 error - was the nameserverconfiguration successful?
    love to hear from you
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  3. #3

    Default Re: how to creat vhost the right way... - some beginner question

    btw; see the apache errorlog

    see here

    [Fri Jul 31 05:23:52.257768 2015] [autoindex:error] [pid 9847] [client 91.121.107.25:46000] AH01276: Cannot serve directory /sites/www.xy.de/: No matching DirectoryIndex (index.htm,index.html,index.php) found, and server-generated directory index forbidden by Options directive
    [Fri Jul 31 06:59:56.272895 2015] [autoindex:error] [pid 10246] [client 92.75.203.165:38328] AH01276: Cannot serve directory /sites/www.xy.de/: No matching DirectoryIndex (index.htm,index.html,index.php) found, and server-generated directory index forbidden by Options directive
    [Fri Jul 31 07:00:26.363764 2015] [autoindex:error] [pid 10246] [client 92.75.203.165:38328] AH01276: Cannot serve directory /sites/www.xy.de/: No matching DirectoryIndex (index.htm,index.html,index.php) found, and server-generated directory index forbidden by Options directive




    apache: don't have permission to access / on this server. when I am using virtualhost

    well - what does this mean
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: how to creat vhost the right way... - some beginner question

    Instead of webmin,
    I'd recommend you install and use WebYAST
    https://en.opensuse.org/Portal:WebYaST

    Keep in mind there are numerous YAST applets which can be used to setup various apps including Apache virtual servers.
    You may need to install YAST applets you want to use.

    TSU

  5. #5

    Default Re: how to creat vhost the right way... - some beginner question

    hi there tsu

    thx for the answer- but i am a bit restricted in this question - my serverydmin installed webmin

    i have to know the steps

    what comes first

    a. the creation of a folder on the webspace or
    b. the step of creation a vhost within webmin ?


    which steps need to be done in which step - what comes first what comes second?
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: how to creat vhost the right way... - some beginner question

    IIRC Webmin supports running a console on the server.
    If that's the case, that's probably your easiest solution...

    Within your console you should be able to launch YAST in text mode, install yast2-http-server, close and re-open yast (don't know if necessary) and configure your vhost that way.

    If you want to really dig into configuring manually, on my machine...
    You can read the installed documentation which is also a sample vhost.conf file
    Code:
    less /usr/share/doc/packages/apache2/original/extra/httpd-vhosts.conf
    The above references the standard apache 2.4 online documentation
    http://httpd.apache.org/docs/2.4/vhosts/

    HTH,
    TSU

  7. #7

    Default Re: how to creat vhost the right way... - some beginner question

    hello dear tsu2



    many many thanks for all - i will think bout all your ideas and will try out all.



    your idesas were great -and i appreciate all your help.




    => DNS did not get divided well, and on some DNS-Server


    it gets not resolved - so we get the 404! error



    (can this mean that i have several nameserver in /etc/resolv.conf)



    what do you say?
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: how to creat vhost the right way... - some beginner question

    Quote Originally Posted by dilbertone View Post
    hello dear tsu2


    <snip>

    => DNS did not get divided well, and on some DNS-Server


    it gets not resolved - so we get the 404! error



    (can this mean that i have several nameserver in /etc/resolv.conf)



    what do you say?
    In general,
    An HTTP 404 error which generally means "a file or folder not found" is the result of webcode error... Either a link to a page that doesn't exist or the path to a page is incorrect.

    Not typically a DNS error which is typically the website Domain name and by default should resolve and display a landing page.

    TSU

  9. #9

    Default Re: how to creat vhost the right way... - some beginner question

    hello dear tsu




    the first try to answer - i got a 500 errror when triying to reply to the thread. - this was with mozilla
    then i tried it with chrome. This worked well.

    but in hte meantime i sent you a pm. Sorry for that!




    so i took this way:
    - many many thanks for the hints in the "how t o create a vhost the right way!"


    see the page: http://www.f-s-j.de/


    i do not know what goes on here.


    is the nameserver configuration done right?


    can we say that this was made propperly ? I am a bit clueless i have to confess.


    maybe it has only to do with the things on the server - like permissions etc. etx.


    just answer to the thread..


    love to hear from you
    greetings
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  10. #10

    Default Re: how to creat vhost the right way... - some beginner question

    btw - found out some more things..

    see the difference you can type this URL two times

    1. www.f-s-j.de
    2. f-s-j.de

    there are completely different results - one time you get a 404 the other time not!

    does this behaviour tell us something bout the nameserver-configuration or the server itself!?
    do i have to work on the nameserver!?
    do i have to do some corrections on webmin-vhost setup?
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

Page 1 of 2 12 LastLast

Posting Permissions

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