Results 1 to 2 of 2

Thread: sites-available / sites-enabled file naming ?

  1. #1
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    Question sites-available / sites-enabled file naming ?

    So I've got dyndns pointing to my machine and all of that works fine. I've since added in my /etc/hosts file:
    Code:
    127.0.0.2    localhost.localdomain    testsite.com
    Added this to /etc/resolv.conf
    Code:
    search localhost.localdomain
    FF will go where I want when I enter in http://testsite.com/ Now, does the testsite.com file have to end in .conf in either or both of those directories? I want to be consistent. If my dyndns assigned name doesn't end in .conf in the .../sites-enabled dir. then apache says it can't find it.

    TIA,
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  2. #2
    Join Date
    Apr 2007
    Location
    Belgium
    Beans
    148
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: sites-available / sites-enabled file naming ?

    sites available or enabled is a configuration for apache2.

    Unless you have your own dns SERVER running you put in your resolv.conf your default gateway, so the router will take care of the dns queries.

    dyndns is only to make your dynamic IP address available on the internet.
    No need to do additional interface configurations.


    Regards

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
  •