Apache gurus! Question....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shaze
    Confirmed User
    • Oct 2003
    • 2662

    #1

    Apache gurus! Question....

    When you add a virtual site is the only file that is updated the httpd.conf file?
    Adult Search Engine Japanese Porn Thai Porn
  • Manansala
    Confirmed User
    • Jan 2005
    • 551

    #2
    No, you must go to resolv.conf as well and setup your DNS.
    EDIT: Files affected are httpd.conf resolv.conf and a new file will be created called yourvirtualhost.domain.tld.db on /var/ or /var/hosts or anything as default by your system.
    Last edited by Manansala; 02-14-2005, 07:03 PM.
    I don't have a signature. !

    Comment

    • toddler
      Confirmed User
      • Jun 2002
      • 1911

      #3
      Originally posted by Manansala
      No, you must go to resolv.conf as well and setup your DNS.
      EDIT: Files affected are httpd.conf resolv.conf and a new file will be created called yourvirtualhost.domain.tld.db on /var/ or /var/hosts or anything as default by your system.
      uh..ok. sure.

      if the question is: what do i have to do to add a new domain to apache: edit httpd.conf and feed it a graceful restart. This assumes your DNS is already setup correctly to resolve your domain name back to your host.

      If the question is: what files get touched: lots. You shouldn't care.
      http://www.flickr.com/photos/zoddler/

      Comment

      • Shaze
        Confirmed User
        • Oct 2003
        • 2662

        #4
        Originally posted by toddler
        uh..ok. sure.

        if the question is: what do i have to do to add a new domain to apache: edit httpd.conf and feed it a graceful restart. This assumes your DNS is already setup correctly to resolve your domain name back to your host.

        If the question is: what files get touched: lots. You shouldn't care.
        DNS is running on another box. so i guess httpd.conf would be the only file?
        Adult Search Engine Japanese Porn Thai Porn

        Comment

        • TheSaint
          Confirmed User
          • Jun 2003
          • 991

          #5
          Originally posted by Shaze
          When you add a virtual site is the only file that is updated the httpd.conf file?
          That is correct. For most apache configuration, that is the only file ever updated.
          I have no signature

          Comment

          • spooky181
            Confirmed User
            • Jul 2003
            • 2951

            #6
            Originally posted by Shaze
            When you add a virtual site is the only file that is updated the httpd.conf file?
            Interesting indeed....

            Comment

            Working...