Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-31-2003, 03:02 PM
|
#1
|
Member
Registered: Jun 2003
Location: Jersey City, NJ
Distribution: Mandrake 9.1 is sooooo easy that patrick starr could use it
Posts: 217
Rep:
|
Apache and webhosting simple NEWBIE QUESTION
 i wanted to know apache is used or hiosting webpages you built, how do you set the website adress, i am new to all this but i want to know what is hosting and how apache has to do with anything.........
|
|
|
07-31-2003, 03:14 PM
|
#2
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Rep:
|
The best thing is use setup VirtualHosts. See the Apache documentation.
|
|
|
07-31-2003, 03:24 PM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
Pardon me if I'm wrong, you know apache is involved in websites somehow but don't what it really does?
Put it this way to view a Microsoft Word Document you have to open Microsoft Word to see it. Same principle on websites, each individual page is a documetn and apache opens it up so you can read it amongst a complex of other thigs.
My apologies if I patronised, where was that stone I was gonna crawl under 
|
|
|
07-31-2003, 03:38 PM
|
#4
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Rep:
|
oops... misread the question. apache is a webserver like Microsoft's IIS. It tells the server computer what document to load when the client computer accesses the URL.
|
|
|
07-31-2003, 06:26 PM
|
#5
|
Member
Registered: Jun 2003
Location: Jersey City, NJ
Distribution: Mandrake 9.1 is sooooo easy that patrick starr could use it
Posts: 217
Original Poster
Rep:
|
im sorry i really couldn't find the words for posting the question lol anyways i wanted to ask what basically goes into creating and putting a webpage on the internet?
|
|
|
07-31-2003, 07:37 PM
|
#6
|
Member
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39
Rep:
|
i was wondering the exact same thing a day ago. Here are the (extremely general) steps... (there are excellent tutorials on how to do this all over the web)
If you dont have apache... Download/Install it.
If/once you do:
type "#httpd start" (you might need to do this from root)
check "http://yourIP/" to see if it's up. You should see an apache defualt page. Next you need to put files into your webspace.
You can check /usr/local/apache/conf/httpd.conf (I think) to see where the file is that holds your site, but the default is "/vars/www/html/" so your is probably there. Now just throw something in there, name it "index.html" and you're set to go. You can also do this using symbolic links to your /home/usr or any other directory, so you wont always need root access to change things. I found that very useful. (to make a symbolic link type "ln -s /name/of/directory/or/file.jpg /vars/www/html/ANYTHING" now replace the first path with the path to the file or whatever you want to be on the website, and replace anything with what you want it to be called on your website.)
that should get you up and going. Any questions please post. I dont know much, but i'll help what i can.
|
|
|
07-31-2003, 08:41 PM
|
#7
|
Member
Registered: Jun 2003
Location: Jersey City, NJ
Distribution: Mandrake 9.1 is sooooo easy that patrick starr could use it
Posts: 217
Original Poster
Rep:
|
 thx man but that's not what im asking i am asking if apachi holds webpages how do you determien the adress for the webpage
|
|
|
08-01-2003, 01:08 AM
|
#8
|
Member
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69
Rep:
|
In its simplest form:
http://some.machine.somewhere.com/somedir/somepage.html
http:// = use the web
some.machine.somewhere.com = either the name of the machine you are running apache on or the ip address (e.g., 127.0.01).
somedir = the name of a directory as explained below.
somepage.html = the name of the HTML file to be "served" to the user.
somedir is defined relative the DocumentRoot (and DocumentRoot is usually defined in your /etc/httpd/conf/httpd.conf file) so that if you have the line
Code:
DocumentRoot "/path/to/docroot"
Then the file somepage.html is actually located at
Code:
/path/to/docroot/somedir/somepage.html
It gets more complicated if you are using virtual hosts, multiple domains. multiple IP addresses, and aliased directories, but I'm guessing that you're not doing that right now
-G
|
|
|
08-01-2003, 04:34 PM
|
#9
|
Member
Registered: Jun 2003
Location: Jersey City, NJ
Distribution: Mandrake 9.1 is sooooo easy that patrick starr could use it
Posts: 217
Original Poster
Rep:
|
thx gabriel are you a teen girl :-* read my sig ^.^
|
|
|
08-01-2003, 04:48 PM
|
#10
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Rep:
|
What you need is your hand and your self and a good file sharing program that supports mpegs.
Haha.
|
|
|
All times are GMT -5. The time now is 03:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|