Jump to content


Photo

Apache server???


  • Please log in to reply
11 replies to this topic

#1 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 02 August 2006 - 02:33 PM

Hi, I am considering removing my web from my paid host and hosting it in my own pc. I am not sure if this is an absolutely crazy idea, and shoul stick with my paid domain or change.... As you could tell I don't know much about web servers and their features. So, the questions are:

Can you put a semi comercial web in a pc at home with apache, or is it a crazy idea?

Do you know any articles to improve my knowledge about servers and their features?

thank you in advance!

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 August 2006 - 02:44 PM

Yes you can host a website of your home PC with Apache. However the PC you host it off must have be good a spec CPU/Memory wise a fast internet connection I'd say 10Mbps+, you'll need to have a static IP address and you'll need to allow access to port 80 or forward port 80 fromyour router - if you have one. Then you'll need to get DNS settings to point to your computers IP addy and then you can assign a domain name to your DNS settings.

Thats how it basically works. If you dont have a static IP and have a dynamic IP then you'll need rent a static IP addy from your ISP, if they provide them, or from somewhere else.

NOTE: I am not an expert at this, but is roughly what you'll want to do.

I'd recommend you to stay with your current host.

#3 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 02 August 2006 - 02:53 PM

Right! Thank you!

I could use a Pentium IV 3.5 / 1 GB RAM / Apache 2.0 / PHP 5

My inet connection is of 4MB download (150 KB upload! ) though, and my IP is static.

do you know what is the main difference between PCs and paid servers?

I will take your advice for the moment and stay with my paid host, at least untill I learn a bit more about hosting...

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 August 2006 - 03:09 PM

Theres not much difference as they are the same except servers can come in many forms and can slot into a rack and connect up to other servers in the same rack to form on huge server. All what a server consists of is basically a mother board and a hard drive which all connects up to one main computer which the data center uses to monitor each server etc. Also data centers tend do be on Gbps (Gigabit per secound) internet speeds.

#5 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 02 August 2006 - 03:18 PM

great. Thanks!

#6 youcantoo

youcantoo
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 11 August 2006 - 11:19 PM

Yes you can host a website of your home PC with Apache. However the PC you host it off must have be good a spec CPU/Memory wise a fast internet connection I'd say 10Mbps+, you'll need to have a static IP address and you'll need to allow access to port 80 or forward port 80 fromyour router - if you have one. Then you'll need to get DNS settings to point to your computers IP addy and then you can assign a domain name to your DNS settings.

Thats how it basically works. If you dont have a static IP and have a dynamic IP then you'll need rent a static IP addy from your ISP, if they provide them, or from somewhere else.

NOTE: I am not an expert at this, but is roughly what you'll want to do.

I'd recommend you to stay with your current host.


To run DNS you must have two static ip's

#7 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 12 August 2006 - 01:12 PM

To run DNS you must have two static ip's


No you do not. I have one static Ip and am using ISC Bind. You do not have to have a master and a slave dns server. It is best to do so but it is not required.


@magas

here is a great link on setting up a server on a dsl/cable line http://www.dslwebser...IP-network.html

Check it out. It should give you a few good pointers. If you should need some help with ISC Bind, I will be glad to help.

Good Luck,
Tom

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#8 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 12 August 2006 - 01:22 PM

Also you can host a site without a static ip, if you use a dynamic dns service like zone edit or dollar dns.
Wild teen is right in that you should stick with you current host. Because if you do not know what you are doing (security wise) your server can become owned.

I use my servers at home for testing purposes. I have a two colocated servers with a data center for commercial use. 

I suggest that you stick with your hosting company because your site will have alot more down time at home then it would at a datacenter.


Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#9 Chetan

Chetan
  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts
  • LocationIndia

Posted 12 August 2006 - 01:41 PM

But remember if you dont have your Computer online all the time, it might not be safe to do this. And you need to have it online forever so it works
I am a PHP Guru, ask me questions if you want to

#10 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 17 August 2006 - 11:31 AM

wow! thanks a lot! I will check the link... Surely will take me sometime to get the hang of it, but in the end it will be worth I am sure...

Thanks again.

#11 invincible_virus

invincible_virus
  • Members
  • PipPip
  • Member
  • 27 posts
  • LocationDelhi, India

Posted 03 September 2006 - 02:42 PM


How about security issue on your local machine??
I think you first need to go through must have stuff like firewalls, and other security software and keep them upto date, if you dont want ur site to get screwed..

PG accommodations in India - http://www.pgspace.com/
Technical Forum - http://www.enterpriseplatform.net/

#12 almcnicoll

almcnicoll
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 06 September 2006 - 09:16 AM

My inet connection is of 4MB download (150 KB upload! ) though, and my IP is static.


Remember of course that that's a 4MB/s download speed and 150KB/s speed for YOU. For someone accessing pages off your server, their maximum DOWNload speed is going to be 150KB/s if they're the only person connecting to the site, and it would only take three people to request pages at the same time for your site to load as though they were on dial-up (56KB/s)! Their UPload speed would be a share of the 4MB/s...

Just a thought!

Al




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users