 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

23rd January 2008, 03:00 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 4

|
|
|
I need help with a webserver
Hello,
I currently own a computer store and we have an employee who does web design for our customers. I now own virtual hosting package at a hosting company to host these sites...but it is getting very expensive. I just built a server using fedora core 7 and im asking for some advice on how to get 15-20 web sites on this server and on the internet I am very noobish when it comes to Linux. Also we currently have webmin install too. If you need more info please respond. Thank you very much in advance.
Affinity07
|

23rd January 2008, 03:15 PM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 741

|
|
|
are you talking 15-20 different websites or a single website with 15-20 pages?
webmin is a really good tool btw, i use it myself to
apache is what you need to install and configure, and i proper internetconnection to your bussiness to support the page/pages
__________________
LINUX NUMBER 389596
machine number 290131
|

23rd January 2008, 03:49 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 4

|
|
Quote:
|
Originally Posted by Zero-Override
are you talking 15-20 different websites or a single website with 15-20 pages?
webmin is a really good tool btw, i use it myself to
apache is what you need to install and configure, and i proper internetconnection to your bussiness to support the page/pages
|
15-20 websites
|

23rd January 2008, 04:06 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
Quote:
|
Originally Posted by affinity07
15-20 websites
|
15-20 full sites? I hope that's one heck of a server box and connection, especially some pretty heavy-duty dedicated upload bandwidth (which may be more expensive than your hosting plan) and substantial harddrive configuration (RAID mirroring advised).  If they're low-traffic and low-content websites, that's a different matter.
I'd guess you'll probably need a full LAMP stack - standard fare for web servers (Linux, Apache, MySQL, Perl/PHP/Python). I know some people speak highly of xampp if you can get by the weird stock photography.
http://www.apachefriends.org/en/xampp.html
Also, Fedora is not the best distro for long-term production servers. I'd consider CentOS for a production server instead of Fedora, because Fedora versions go EOL at the end of 13 months or so.
(In fact if I go with home-based web service - and I might - I'll look into CentOS, Debian, or Slackware. I should also add that if you're "noobish" by your own admission, serving 15-20 websites out of a DIY server might leave you discouraged. That's a tall order for a beginner.)
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Last edited by forkbomb; 23rd January 2008 at 04:09 PM.
|

23rd January 2008, 04:10 PM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 741

|
|
no expert on apache but i believe that would require 15-20 instances of apache
you'd need either 15-20 ip adresses, or you'd need to set up virtual ip's (the latter would be waaaay cheaper but might be hard)
http://forums.fedoraforum.org/showth...7&goto=newpost
this thread will help you out a lot
and maybe the other poster can help you a bit further, this isn't my point of expertise (though i have some experience in the matter)
__________________
LINUX NUMBER 389596
machine number 290131
|

23rd January 2008, 04:32 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 4

|
|
Quote:
|
Originally Posted by tjvanwyk
15-20 full sites? I hope that's one heck of a server box and connection, especially some pretty heavy-duty dedicated upload bandwidth (which may be more expensive than your hosting plan) and substantial harddrive configuration (RAID mirroring advised).  If they're low-traffic and low-content websites, that's a different matter.
I'd guess you'll probably need a full LAMP stack - standard fare for web servers (Linux, Apache, MySQL, Perl/PHP/Python). I know some people speak highly of xampp if you can get by the weird stock photography.
http://www.apachefriends.org/en/xampp.html
Also, Fedora is not the best distro for long-term production servers. I'd consider CentOS for a production server instead of Fedora, because Fedora versions go EOL at the end of 13 months or so.
(In fact if I go with home-based web service - and I might - I'll look into CentOS, Debian, or Slackware. I should also add that if you're "noobish" by your own admission, serving 15-20 websites out of a DIY server might leave you discouraged. That's a tall order for a beginner.)
|
there is only about 2 big ones and the rest are just informational
|

23rd January 2008, 04:35 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 4

|
|
|
and there is only 10 right at the moment
|

24th January 2008, 05:11 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657

|
|
|
Tip: <Virtual Hosts>
Like that you can get by with a single ip address, as long as you restrict e-commerce or basically SSL on port 443 to one ip address/site pair (if you use that). I know that this is rather short, but you'll have to do the heavy reading if you want to run your own www server. There are a number of steps to consider, besides just running the web server. You'll need a DNS service provider, unless you also want to run that service and you'll also need to manage the domain names at the registrar. But with enough determination, you'll get there.
__________________
Ziggy
|

24th January 2008, 02:38 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 214

|
|
|
I'm currently run 5 websites over a Fedora 8 server (recently upgraded from FC6). The data is mirrored to a CentOS server for failover, why its not the other way around is not too important. Basically, when the Fedora distro reaches EOL... it doesn't mean it stops working, so you can continue to run your setup from which ever Fedora version you wanted.
A static IP address would be nice, but you can run it off a dynamic IP also. You will need your DNS service and Domain name registered... then the rest is just a matter of installing a LAMP stack and configuring the Virtual Host directives in the httpd.conf file. Then of course, lockind down the server so you don't get hacked into.
|

24th January 2008, 02:58 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
Quote:
|
Originally Posted by InfRecursion
I'm currently run 5 websites over a Fedora 8 server (recently upgraded from FC6). The data is mirrored to a CentOS server for failover, why its not the other way around is not too important. Basically, when the Fedora distro reaches EOL... it doesn't mean it stops working, so you can continue to run your setup from which ever Fedora version you wanted.
|
True, but it's okay to at least have the option of updating through the official package manager.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|

24th January 2008, 05:56 PM
|
 |
Registered User
|
|
Join Date: Nov 2007
Posts: 198

|
|
I don't know about running 10 professional websites, but I do know how to setup a simple webserver. Maybe my little tutorial will at least help guide things along? It's very "newbish" because I'm "newbish" at web server administration.
Just trying to help...
|

26th January 2008, 03:44 PM
|
 |
Registered User
|
|
Join Date: Jan 2008
Location: New Delhi, India
Posts: 2,068

|
|
Expanding Zigzagcom's idea,
Multiple websites can be run on a single server by adding the following config in the
/etc/httpd/conf/httpd.conf
Code:
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /www/docs/dummy-host.example.com
ServerName dummy-host.example.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
With each new website enclosed into the
Code:
<VirtualHost *:80> </VirtualHost>
A complete manual for Apache is available in the
/usr/share/doc/apache2-doc/manual/
Hope this is helpful.
|

27th January 2008, 05:35 AM
|
|
Registered User
|
|
Join Date: Mar 2007
Posts: 201

|
|
|
go to howtoforge and do the fedora perfect server with ISPConfig. It will do all you want.
|

27th January 2008, 09:41 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733

|
|
i think thats what i said
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
F10 Webserver goes down.
|
LaKing |
Servers & Networking |
26 |
23rd February 2009 11:58 AM |
|
DSL and webserver
|
claybv |
Servers & Networking |
5 |
19th March 2008 03:04 AM |
Current GMT-time: 02:05 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|