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

Thread: Configuring Ubuntu Webserver

  1. #1
    Join Date
    Jul 2008
    Beans
    9

    Configuring Ubuntu Webserver

    Hi, I installed a Ubuntu Server but I am a little confuse about what and where I must enter some information.

    Is there someone who knows his/her stuff and want to help me with this information? I don't know if I am on the right way

    NETWORK SETTINGS

    I want to give my server the name: cyber01

    What must I write?

    Hostname : cyber01.mirrage.nl
    Domain name : mirrage1.nl

    or

    Hostname : cyber01
    Domain name : www.mirrage1.nl

    Thanks

  2. #2
    Join Date
    Jul 2008
    Beans
    10

    Re: Configuring Ubuntu Webserver

    For the hostname all you have to write is cyber01, basically the server name.

    Hope this helps,
    Kevin.

  3. #3
    Join Date
    Jun 2007
    Location
    in a quiet café somewhere
    Beans
    122
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Configuring Ubuntu Webserver

    Hostname : cyber01
    Domain name : mirrage1.nl

  4. #4
    Join Date
    Jul 2008
    Beans
    9

    Re: Configuring Ubuntu Webserver

    Thank you Guys.

    I connected my router to an other router (ISP)
    I forwarded port 80 to go to my webserver (192.168.50.100)

    I also modified the /etc/hosts file.


    127.0.0.1 localhost
    127.0.1.1 cyber01.mirrgae.nl cyber01
    192.168.50.100 cyber01 www.mirrage.nl
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts


    Can you Guys tell me if I am on the right way?
    because I have done many modifications.
    I hope that every thing is on the right place.

    Thanks

  5. #5
    Join Date
    Jul 2008
    Beans
    9

    Re: Configuring Ubuntu Webserver

    Hi,

    Is there someone on this forum who can help?

    Please...........

    Thank you

  6. #6
    Join Date
    Aug 2007
    Beans
    82

    Re: Configuring Ubuntu Webserver

    So are you saying this isn't working or are you asking if what your doing looks ok?
    And Knowing Is Half The Battle
    ------------------------------
    Chumley

  7. #7
    Join Date
    Jul 2008
    Beans
    9

    Re: Configuring Ubuntu Webserver

    I don't know if I configure it good.
    I am getting error message: cannot resolve hostname etc.

    1) Is there a specific order how to configure this?
    2) Is it right to configure the 127.0.1.1 like below or must it also be localhost instead of cyber01.mirrage.nl cyber01
    3) How should I configure my webserver to not display that message again? (cannot resolve hostname)

    127.0.0.1 localhost
    127.0.1.1 cyber01.mirrgae.nl cyber01
    192.168.50.100 cyber01 www.mirrage.nl
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    I hope you can help me with this configuration.

    Thank you

  8. #8
    Join Date
    Jan 2008
    Location
    North Alabama
    Beans
    111
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Configuring Ubuntu Webserver

    Who is hosting the domain name? If it's somebody like Godaddy you will have to setup the DNS records to point to your IP address. To test it you could go to http://your.ip.address.here/ and see if it will open your site.
    “We cannot defend freedom abroad by deserting it at home.”
    -Thomas Jefferson

  9. #9
    Join Date
    Jul 2008
    Beans
    9

    Re: Configuring Ubuntu Webserver

    When I am on a public network I can access my website.
    When I enter www.mirrage.nl I can see my home page.
    That is not the problem.
    My ISP connect my pricate IP with my domain name.

    My problem is:

    Is the below configuration correct?
    Does someone have the same configuration?

    When I am on my private network and when I went to the terminal to enter some commands I am getting the error message:

    sudo: unnable to resolve host cyber01

    What is this error message?

    I hope I am clear with my explenation.

    Thanks


    127.0.0.1 localhost
    127.0.1.1 cyber01.mirrgae.nl cyber01
    192.168.50.100 cyber01 www.mirrage.nl

  10. #10
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Beans
    11

    Re: Configuring Ubuntu Webserver

    is the client machine trying to connect your web server from the local subnet the same as your web server machine?
    if it's not, the hosts file on the client machine has to have a line "192.168.50.100 cyber01" in it as well.
    Last edited by chickpea; August 4th, 2008 at 12:54 PM.

Page 1 of 2 12 LastLast

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
  •