Results 1 to 6 of 6

Thread: Help with running Apache and website?

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Location
    Sacramento, CA
    Beans
    196
    Distro
    Xubuntu 11.04 Natty Narwhal

    Angry Help with running Apache and website?

    So, I've looked all over the Internet for how to host my own website - viewable to others - from my laptop using apache. Every web page gave me different chunks of info for various config files and directories and whatnot. But I can't figure out what to do with the info. And nowhere tells me how to make my site viewable for others, instead of just using "localhost" in the address bar. Help anyone? I'm looking for how to host my own website from my laptop. So far all I've done is a lot of reading, and
    Code:
    sudo apt-get install -y apache2
    And I have apt-get configured to install all suggested and recommended packages.

  2. #2
    Join Date
    Jun 2008
    Location
    Calgary, Alberta
    Beans
    1,128
    Distro
    Ubuntu Studio 18.04 Bionic Beaver

    Re: Help with running Apache and website?

    Well...as far as I know, you have to have a static IP address that you point your domain name to...then you set up your webspace associated to that IP address.

    Running a website from your "laptop" will require you to continually update your domain name pointers to whatever IP address your ISP allocates you every time you boot up. A pita, if you ask me.
    This is a signature. It is original.

  3. #3
    Join Date
    Jun 2010
    Location
    Sacramento, CA
    Beans
    196
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Help with running Apache and website?

    I read something about using no-ip to bind the IP to my site. But I'm not quite sure how to get my site up, in the first place. I've made plenty of websites before, but never hosted my own from my own server. I let the other free web-hosts deal with that for me. ^_^

  4. #4
    Join Date
    Aug 2006
    Beans
    1,222

    Re: Help with running Apache and website?

    Build your website, chuck it in /var/www, set up port forwarding with your router, and set up no-ip or dyndns with your router/laptop.
    There's no place like ~/

  5. #5
    Join Date
    Jun 2010
    Location
    Sacramento, CA
    Beans
    196
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Help with running Apache and website?

    Thanks. I'll try to do a little more Googling and figure out how to do each of those. In the meantime, can you point me to a forum or tutorial/guide you learned from? I'm looking for something complete that can really describe to me every step I need to take (and explain what's going on maybe). Sorry, I'm such a newbie with this stuff. ^_^

  6. #6
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Help with running Apache and website?

    When I started running my own website, getting a static IP address only mattered when I was looking into setting up the email side of things. Both DynDNS and No-IP have server-side clients that can take care of updating the relevant records when a dynamic IP address changes, and some routers have similar capabilities built in too.

    Edit, extremely short setup guide: What I initially did was to install LAMP, create some web pages, place them in the folder /var/www, and use no-ip to manage the DNS related stuff. Things have grown since then.
    Last edited by lisati; February 11th, 2011 at 09:08 PM.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

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
  •