Announcement

Collapse
No announcement yet.

Apache virtual host on Kubuntu 9.4

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Apache virtual host on Kubuntu 9.4

    I have a stable installation of Kubuntu and Apache works well. I am using the user html directories for developing web pages. I want to access sites via http://[sitename].[servername] rather than http://[servername]/~[sitename].

    I have found articles related to this topic but can not seem to make it happen. Can someone please help?

    #2
    Re: Apache virtual host on Kubuntu 9.4

    put the virtual host configuration file in "/etc/apache2/sites-available".
    copy "default" to "yourSiteName", then modify that according to your needs.

    link your new site in "/etc/apache2/sites-enabled".
    you'll see "000-default" in there already.
    call your link something like "001-yourSiteName".

    do what is necessary for your virtual host name resolution.
    edit "/etc/host", update your dns, ..., whatever.

    restart apache.

    that should be it.

    hth
    gnu/linux is not windoze

    Comment


      #3
      Re: Apache virtual host on Kubuntu 9.4

      Thanks for your reply but I have no idea what you are telling me to do. I am pretty much a newbie when it comes to Linux.

      When you say :
      link your new site in "/etc/apache2/sites-enabled".
      you'll see "000-default" in there already.
      call your link something like "001-yourSiteName".
      is that done with a new file named that or do I add the new site to the existing "000-default" file?

      I am not good at working with config files in Linux. I tried an install of SuseLinux on another box and found it had GUI in Yast to manage the http services. I was able to get virtual hosts running on the local machine but dns didn't function for other machines on my lan. Is there a GUI to manage virtual host configuration for Kubuntu anywhere?

      In order to understand the application I need to see examples

      Comment


        #4
        Re: Apache virtual host on Kubuntu 9.4

        i see.

        i'm not particularly good with guis.
        i found 2 candidates with a quick search in the software repositories.
        a) cherokee
        b) rapache
        i never used them, though, so i don't know if/how they work.

        cheers.
        gnu/linux is not windoze

        Comment

        Working...
        X