Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-01-2005, 09:40 PM   #1
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
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
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
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 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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

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