LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-01-2005, 09:40 PM   #1
dethstar
LQ Newbie
 
Registered: Apr 2005
Location: Localdomain
Distribution: Slackware 10.1
Posts: 1

Rep: Reputation: 0
Web Server and Personal Workstation


I'm really a newb when it comes to setting up a personal web server to host your own site (I have never done it before actually, I just know it's possible), but I was wondering that once I do get my PC set up as a server hosting a domain, could I still use the same computer as my personal computer (like use KDE, run apps, etc.). How would I set up my hosts file, as well as my hostname and domainname? Thanks for the help.
 
Old 08-01-2005, 10:33 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Unless you have a particularly slow computer, there is no problem doing both. I run a full set of desktop apps, plus Apache, MySQL, and a handful of other daemons for doing development on my desktop.
 
Old 08-02-2005, 01:47 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You would install the necessary software such as apache, php, mysql etc. If you are on a broadband connection you have an always on connection to the internet. The address of the connection (your IP address) is either static (remains the same all the time which is the ideal) or dynamic (changes periodically). These are assigned by your ISP.
You need to ensure that the router side of your modem/router is forwarding requests on port 80 to your system IP address. You MUST have firewall protection.
If you have a static address then you only need to buy a domain name and then point the domain name at your IP address. The registrar either has a control panel to allow you to do this or you must instruct them to to do this for you. Once done the apache server should be visible using either the IP address or the domain name address.
If your IP address is dynamic then you need to host through a 3rd party like dyndns.org. You will need a script on your server that determines your IP address at defined intervals and then sends the info to dyndns which will then direct requests to your server to the new address.
There are a number of articles on this on the net so try a Google search.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal web server for testing web sites? Ariod Linux - Newbie 12 09-29-2005 04:30 PM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
Can I setup web server on Linux workstation? JJBLINUX Linux - Newbie 2 09-18-2004 10:13 PM
personal web server tuxrules Linux - Newbie 3 06-23-2004 10:14 PM
Personal Web Space rednex269 Linux - Software 17 12-09-2002 09:52 PM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration