Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
ok i have apache 2 installed on my ubuntu dapper.I also have a mysite.php file saved in /home/jan/mysite Now im complete newbie to apache and i newer worked with servers ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549

    help me with apache


    ok i have apache 2 installed on my ubuntu dapper.I also have a mysite.php file saved in /home/jan/mysite
    Now im complete newbie to apache and i newer worked with servers before.Now my question is:
    -how to set up apache that i would have my site uploaded on www.jan1024188.net?
    Do i have to edit any files?

  2. #2
    j1s
    j1s is offline
    Just Joined! j1s's Avatar
    Join Date
    Nov 2006
    Location
    Norway
    Posts
    90

    Apache 2

    I did'nt quite get your question. Do you mean that Apache is capable to upload files? I've never heard of that one before. Can you please specify your problem.

    If you have just one site, then the index.*-files are stored in /usr/lib/www Thats the standard place.

    J1s

  3. #3
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    ok i have a website and i installed apache.I want my website up and running .
    But i dont know how to do that with apache2.

    ps:There is no such file
    /usr/lib/www
    on my machine.
    I have www dir int /var directory

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    Quote Originally Posted by jan1024188
    -how to set up apache that i would have my site uploaded on www.jan1024188.net?
    this is a really confusing statement. Either you:
    1)- upload your site to a hoster with rented webspace with ftp, or you
    2)- forward port 80 and point the dns to your ip, and setup a local apache webserver to serve the page from your home as www.jan1024188.net.

    Which one is it?
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

  6. #5
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    be aware that you need a static IP to get a stable website.
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  7. #6
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    well i dont have static ip and im not going to run server.Im just curious how stuff works....

    2)- forward port 80 and point the dns to your ip, and setup a local apache webserver to serve the page from your home as www.jan1024188.net.
    Id like to try this.

  8. #7
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    First things first!
    Did you get apache running and can you get to your page locally?
    Try browsing to it on 127.0.0.1/yourpage.html
    or
    localhost/<yourpage>.html
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

  9. #8
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    yes that works fine

    so what to do next?

  10. #9
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    You can also go to your site using something like this

    http://<your ip adress>/mysite/mysite.php
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  11. #10
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    Does your ISP allow or enable you to run websites from home? In other words: can you forward port 80 to the outside world?
    Give us some more info ..
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •