Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Document for setup networking - Dynamic IP, DYNDNS domain
Results 1 to 2 of 2

Thread: Document for setup networking - Dynamic IP, DYNDNS domain

  1. #1

    Document for setup networking - Dynamic IP, DYNDNS domain

    Hi folks,

    Ubuntu-6.06.1-LAMP-server-amd64
    Apache2
    Postfix
    ADSL broadband connection - Dynamic IP (changed on connection)
    via ADSL modem (no setup required) - CAT5 cable to PC and tel line to wall socket
    DYNDNS.org - domain on dynamic IP
    No workstation connected

    I'm configuring my newly setup Web/Apache2 server for test purpose and encountering problem on setup networking. Did not know how to proceed.

    Apache2 is running with default page displayed on browser
    Postfix is running. Sending email to myself/PC works.

    I have been searching Internet for relevant document to setup networking so that webpage on Apache2 can be visited. Emails can be sent to their destination. I found bundles of document and did not know which of them appropriate.

    I also found;
    (Quick HOWTO : The Linux Website Project)
    http://www.linuxhomenetworking.com/w...ebsite_Project
    (Quick HOWTO : Ch19 : Dynamic DNS)
    http://www.linuxhomenetworking.com/w..._:_Dynamic_DNS
    (Quick HOWTO : Ch20 : The Apache Web Server)
    http://www.linuxhomenetworking.com/w...che_Web_Server
    etc.

    Please help. Which document will be appropriate for me to follow. TIA


    B.R.
    satimis

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    Let me get this strait, you want your apache test page to be visible from the outside, when someone enters http://your-chose.dyndns.org into their browser right ?
    I'm assuming you know how to maintain the IP info on dynDNS, so it will allways have your appropriate IP info as your-chose.dyndns.org, else focus on the DDNS Client mentioned in Dynamic DNS

    Once you get that sortet, it's a matter of focusing on Named Virtual Hosting in the The Apache Web server howto.

    For a quick example, you can create a file in /etc/apache2/sites-available/ called your-chosen.dyndns.org which holds:
    :
    Code:
    <VirtualHost *>
        ServerAdmin my-email@somewhere.org       
        DocumentRoot /var/www/my-dyndns
        ServerName your-chose.dyndns.org
        ServerAlias www.your-chose.dyndns.org
        ErrorDocument 404 /my-error-page.html
        ErrorLog /var/log/apache2/my-dyndns.org-error.log
        CustomLog /var/log/apache2/my-dyndns.org-access.log combined
        <Directory "/var/www/my-dyndns">
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            Allow from all
        </Directory>
    </VirtualHost>
    And then link to it from /etc/apache2/sites-enabled/ like so:
    Code:
    > ln -sf /etc/apache2/sites-available/your-chose.dyndns.org /etc/apache2/sites-enabled/your-chose.dyndns.org
    Then restart apache, to see if it will be visible by http://your-chosen.dyndns.org. Given that you've created the /var/www/my-dyndns directory and has a valid index file there...

    As for postfix, you need to configure it, so it will accept mails for the your-chosen.dyndns.org domain, so for that focus on the Postfix Virtual domain hosting documentation, and perhaps the Postfix on hosts without a real Internet hostname portion, else good luck and hopefully it will work out.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. Home network setup with AD & domain controller equivalent
    By robbymurphy in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-25-2009, 11:03 AM
  2. help with home networking setup and static routes
    By zoidb in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 03-08-2009, 07:39 PM
  3. SendMail setup domain name without www
    By mkohan in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 07-23-2005, 09:19 PM
  4. Okay CHSI does not offer Static IP affordably. DYNDNS?
    By Rastar in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 01-03-2003, 12:00 PM
  5. creating a mail server using your dyndns.org domain
    By tzimsce in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 12-27-2002, 09:13 PM

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
  •