Web Server
we have 2 servers at different data centres we have successfully managed to have 2 A names that point to 2 different ip's/data centres so if we switch one server off the other is there seamlessly which wouldn't be a problem and is ideal for a website that doesn't rely on a database because you cant guarantee what server you will be viewing,
so we need to find a way of having normal mysql replication (master/slave) on both servers but have the slave server hidden/disabled until the master server goes down then have the slave server come to life someway,
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Improve Performance- Web Server, SSH Server, And Mail Server
I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server. What I've got running: Apache2, PHP5, MySQL5, Dovecot, Postfix One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness. Changing the server software is not an option - Only optimization. Quote: Originally Posted by httpd.conf ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 300 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 5 <IfModule prefork.c> StartServers 8 MinSpareServers 8 MaxSpareServers 13 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 50 </IfModule> <IfModule worker.c> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> Listen 80 LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_alias_module modules/mod_authn_alias.so LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule ldap_module modules/mod_ldap.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule include_module modules/mod_include.so LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so LoadModule headers_module modules/mod_headers.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule info_module modules/mod_info.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule cache_module modules/mod_cache.so LoadModule suexec_module modules/mod_suexec.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule cgi_module modules/mod_cgi.so Include conf.d/*.conf User apache Group apache Quote: Originally Posted by my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 [mysql.server] user=mysql basedir=/var/lib [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid
View Replies!
View Related
Create Web Server Using Windows 2003 Server
I have three machines in network. One is server with Windows 2003. And rest two are having Win XP Professional and MS Office with Publisher. I want to create website using Publisher on one machine and put to Web server created on Win 2003 server. So that other machines on the network can browse my thsi local website.
View Replies!
View Related
Windows Media Server & Web Server
I have a company that wants to stream some live events via Windows Media Encoder/Windows Media Player. I believe the best route is to use a WMS, stream to the WMS, then the CDN would pull from there for events. Can someone help me explain a Windows Media Server versus a web server? Can you host web sites on a WMS? Is WMS just an extension to a regular Windows 2003 server?
View Replies!
View Related
Web Hosting On Same Server As Game Server
Does a typical LAMP setup for a high enough traffic site(s) take enough resources to affect the performance of a game server? (we'll say 1million page views per day) I'm speaking of say, 2MB of ram, dual xeon 2.8 type machine, with IDE drives. Nothing too fancy. 1 milion page views per day may be pushing it, so what about say, 200 per day? Just wondering if anyone has a setup like this and how it fairs out at the game server end. I'm thinking of moving my websites over to my game server + add more sites over time, but don't want it to lag the game. I know as a fact bandwidth would not be the issue, I'm thinking more ram/cpu. The game I host (Ultima Online) uses very little bandwidth with even 30+ people online. I use less then 1% of my link capacity at most times. I've seen it spike to 5% and that's most likely when I was downloading data.
View Replies!
View Related
Network Web Server And Database Server Together
I am going to setup our new database server (call it beta) in our data center. Previously we only had one server (call it alpha) which was web, email, ftp, dns, and database. Beta is taking over alphas database duties. We have a Sonicwall router/firewall as our main connection access point. I am trying to decicde if we should simply connect alpha and beta together locally via a gigabit crossover cable, or if I should connect beta into our sonicwall router/firewall. Beta does not need to be outside accessible at all. So if I connect beta to the sonicwall I simply would not open any ports. What do you guys think is best for performance and the overall right way to do it.
View Replies!
View Related
DB Server And Web Server In Different Data Centers
DHas anyone got experience of having a web server and db server setup where the servers are in different datacenters? Is this a viable solution or would the performance of sites suffer too much due to the added latency? The only other problem I can think of is additional bandwith usage but that's not a major worry. Reason I ask is beacause I've found and excellent deal for a DB server and would like to keep my current server for the front end..
View Replies!
View Related
Media Server Or Web Server + NAS
I currently use a Dedicated Server: Quad Core, 8GB Ram, 3TB HDD as a Media server which streams video clips etc... on my websites. But Im moving my sites to a UK colo, I have been advised that its better to have Multiple Web Servers connected to a NAS / Storage Server? As I dont want to have multiple servers doing seperate jobs I want 1 cluster e.g. Web Servers + Load Balancers + Storage + SQL I Purchased a HP StorageWorks NAS 1200s 1TB LINK: [url] Will this do the job? Or should I use this as backup storage and get something else?
View Replies!
View Related
How To Setup A WEB Server Which Talks With DB A Server
I have been shooting away a lot of questions on these forums lately, but you guys have been very helpful. Thanks. My problem is this. We are going to get rackspace. Then we are going to purchase two servers. The first (WEB) is a httpd, dns, ftp, smtp, pop3 server. The second (DB) is purely a database server which will run mysql and mssql. The first server (WEB) runs a asp/php applications that need to connect and talk with the database (DB) server. I was thinking of only connection the WEB server to the physical internet through the co-location drop. Then connecting the WEB and DB server directly via a CAT6 cable. Both servers will have gigabit NIC cards. Then in theory in the asp/php applications all I have to do, is point them to the local ip address of the DB server as this should work. Is this a good solution? Will speed be an issue, the delay from talking to the WEB server and talking to the DB server? I was thinking this is more secure, because the WEB server is the only machine physically connected to the internet, the DB server is not. Though, is it true, if hackers compromise the web server, they then would be able to compromise the DB server as well via the WEB server? I am open to suggestions though, and better ways of setting this up.
View Replies!
View Related
Remote File Server And Web Server
I own a file hosting site. The site is powered by 2 servers - 1 front end web and database server, and 1 where all the files are stored. I'm facing a problem that uploading and downloading often failed. Connections to mysql would timeout. Has it to do with mysql settings or because the file server is located at a distance from the sql server? (my.cnf on the sql server) [mysqld] skip-locking skip-innodb max_user_connections=6000 max_connections=6000 datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock
View Replies!
View Related
My Own Web Server ...
Im tierd of searching for hosting!I heard that you can turn your PC in to a web server! Is it possible?! I have: DSL connection 4096 Kbps Down. /512 Kbps upload Unlimited transfer (after 100 GB the speed turns to 1024 Kbps)! And my PC is preaty strong (Intel Core2quad 2.4 8MB/2GB Ram/1 TB HDD (2x512)
View Replies!
View Related
Using A Second Web Server
in a site to help save some Ram: Use a 2nd server You can use a tiny, lightning fast server to handle static documents & images, and pass any more complicated requests on to Apache on the same machine. This way Apache won't tie up its multi-megabyte processes serving simple streams of bytes. You can have Apache only get used, for example, when a php script needs to be executed. is this Good? if yes how could it be done, having apache and another one at the same time
View Replies!
View Related
Web Server
I set up a server using Apache. Port 80 was blocked so i used port forwarding to Port 8080. ANywhere in my network, i can type my internal ip add. (192.168.1..40) and my files show up. Outside my network i can type my WAN IP (72.72.x.x:8080) and see my files. I bought a domain and used zoneedit to assign it to their DNS and am using the Zone edit updater to update my ip because it is dynamic and always changes. The zoneedit looks like its working because my current ip always shows up on the zone edit website..and running nslookup mydomain.com, the current ip also shows BUT when i type mydomain.com in a browser, it says that teh page cannot be found...
View Replies!
View Related
Web Server Has Been Attacked
Server info: Windows 2003 box Dedicated server currently hosted at the planet. Problem: It would appear there has been a security breach into the server recently. This morning we cleared off a Trojan, and also a new user that had been created on the server. All of our websites we host (around 200) had been affected. Almost every file had new javascript or links to an .swf, they load in iframes and are very malicious, actually giving any vistor to the site a virus. I tracked down the embed code that I found in most files appended to the end of each file. Below shows up in most .asp, .cfm, .html files (no spaces, just can't paste a url in here yet)... <scRipT s rc=[url] <scRipT sr c=[url] Below shows up any any .js file (no spaces, just can't paste a url in here yet)... document.writeln ("<script sr c=[url] document.writeln ("<script sr c=[url] So I got a script that opens up every file looking for this code and stripping it out. Seemed to work at first, but now all the sites have been rewritten again..... and again. So obviously something is overwriting this.
View Replies!
View Related
Home Web Server
I have a spare machine which is fairly fast, i like to know what are the steps to make a web server from home that actually works well, i have a static IP and a fast internet too. Which operating system works better and any guide to a step by step setup.
View Replies!
View Related
Web Server Logging
Firstly this question is not related to running a web hosting business, but to dedicated servers hosting our own websites. I was just wondering, other than security reasons, what is the importance (if any) of keeping Apache/WWW logs? Are there legal reasons? If it is best to keep Apache logs, how should we go about this? If we don't look after them properly there will be massive amounts of logs being kept - what is the best way to store them? I know they can be "rolled over" and kept for a certain amount of time, which is the best utility to do this? The OS is Linux (CentOS) and the web servers are Apache and Lighttpd. and should proxy/gateway/cache server logs be kept?
View Replies!
View Related
IIS Web Server
This past year our high school purchased a web server for Web Design classes to post their created pages to. This is great news, but as a teacher I’m not versed on its capabilities or functions. Over the course of the year, I got the students to post their pages through FTP process, but I’d like to add other features similar to those offered by other hosts. We are not going to be in the business to host pages, other than learning how-to. Things I see that I’d like to add and need direction: Email Control Panel – to allow student interaction. 2.0 technology (if you will) Simple Scripts Fantastico I have asked that they install mysql and php and they did. Where do I go from here?
View Replies!
View Related
Running Web Server
I want to start up my web server again. I have Windows XP hosting my web server right now. and, it's slow. Should i stick with Windows, run IIS and use httpZip from Port80? I really like microsoft, and don't want to change and adapt to something else. give me advice Or, should I run Linux I would run Linux on it, but I don't know how. And they have different version of Linux. Example Redhat, Ubuntu etc. Which one should I go for? Also, what do I do if I have a netgear ethernet card? Is that Linux? Is it compaitable with Redhat? And last question, what do I use for security? I'm a hacker, yeah.. I know what all people can do to websites. How do I stop them? DoSing, Cross Scripting, XML Attacks, MySql Injection.. Etc. If a linux fan can respond, that would be nice.
View Replies!
View Related
IIS Web Server
This past year our high school purchased a web server for Web Design classes to post their created pages to. This is great news, but as a teacher I’m not versed on its capabilities or functions. Over the course of the year, I got the students to post their pages through FTP process, but I’d like to add other features similar to those offered by other hosts. We are not going to be in the business to host pages, other than learning how-to. Things I see that I’d like to add and need direction: Email Control Panel – to allow student interaction. 2.0 technology (if you will) something similar to, but not limited to: Simple Scripts Fantastico I have asked that they install mysql and php and they did. Where do I go from here?
View Replies!
View Related
Home Web Server
I'm just wondering what the practicalities and problems might be in setting up a web server from home. At the moment we have a 2Mb cable connection but our provider offers a 20Mb connection. Would it be possible to set up a small hosting business from home with such a connection?
View Replies!
View Related
From Server To A Web Host
I was wondering if it's possible to transfer your site from a server to an addon domain on a webhosting plan at hostmonster.com? And is it possible to restore it back? Like for an example I bought a dedicated server and setup the domains: domain1.com domain2.com domain3.com And move them to a webhosting package: domain1.domain.com domain2.domain.com domain3.domain.com And then setup these as an addon domain, so it will a domain again instead of a subdomain.
View Replies!
View Related
Web Server Comparison
I am setting up a new server and would like to find an alternative to Apache. I would like to find something that uses less RAM, as Apache can run up to 15 MB on my machine. The three options I have selected include: Lighhtpd Nginx LiteSpeed I couldn't tell if Lighhtpd was RAM intensive but it was proprietary, so I don't think I'll use it.
View Replies!
View Related
Using My Web Server As Its Own Nameserver
I use my web server as its own nameserver. I know the potential draw backs of this, but it works fine for me. I have recently moved server and need to configure my new server to work as my nameserver. I use one of the server administration companies people talk about here, but they seem to be unable to configure this for me. As a result my server is down (can't be reached due to nameserver issues). Does anyone know off hand how I can do this myself?
View Replies!
View Related
Making Web Server
I was wondering I've been having problems with getting my web server going. I'm using Apache 2 on my Windows XP SP2 machine. I have a Linksys WRT54GX2 router, and I have Charter 3MB Cable internet. I already called charter to see if they allowed web servers and they said they do. I also asked if they block ports, and they said they don't. Now my problem... So, I originally thought maybe charter blocked port 80, so I used NO-IP to work around that, I did port forwarding through that. Well, I used there tool canyouseeme.org and it said it couldnt read any ports i put in. All my firewalls were off and i had my router firewall off. I even put my computer in the DMZ part of my router. I'm about to see if i can connect my modem directly to my computer without having a problem but i wasn't able to a bit ago. Anyone got any clues to waht i could do if nothing changes when i put my modem to my computer.
View Replies!
View Related
Recommend A Web Server
I've been shoping around for a web server and found this one from freecom: [url] does anyone know of any other/better products out there? It needs to have LAMP or WAMP along with FTP, and firewall.
View Replies!
View Related
LiteSpeed Web Server
Ive been planning to try LiteSpeed Web Server on my cPanel webhosting servers, but cant decide which license is best for my 2 x quadcore Xeon E5335 system and 2 x dualcore Xeon 5130 system.
View Replies!
View Related
Web Server Partition
My PHP/MySQL web application will be put in a unix/linux environment, and the guy who is setting up the server is asking me this: Do you have any partition requirements? I don't know too much about hardware, how should I answer him? do you have any suggestions?
View Replies!
View Related
Web Server Specs
I have been hired to build a web server for a fellow student at school. I am used to building desktops for personal use but this is my first time putting together a web server so I just wanted to verify with you web hosting pros what should go in it. Purpose of server: He wants a server that is capable of hosting a website mostly dedicated to a vBulletin community. He wants it to support a community of 30,000 members with a max of 1000 active users. He is also active in local politics and wants to host some local candidates web pages but I assume since they are local candidates and not very well known and most likely going to be very static pages this wont cause much of an extra load. Limitations:I know the connection is going to be a likely place for a bottle neck but he wants to have a server that is capable of hosting the above mentioned type of load and will upgrade the his connection as needed. Also he does not know how to use Linux or Unix so a windows based system would be strongly preferred even though its generally considered worse. what is the most necessary specs on such a system? I would greatly appreciate any input.
View Replies!
View Related
Setting Up A Web Server
We have a database developed in oracel which is accessed be a lot of clients in our organization in our own domain ( a lan within the same building). My own laptop is a cleint and I have access to the oracle sever finely. Now I have developed a website in asp which has several quries for the databse. I am using my laptop as a webserver and broweser and the website is working excellent. Now I want to (1)All the people in my domain should have access to this website. I dont know how to do it. As it should be using a local network and my own computer should be a webserver. Please advise. (2) Is it possible for my to uplodoad my site to a third-party webserver like yahoo or brainnet and people should have access to this site globally.
View Replies!
View Related
Creating A Web Server
I have an AMD Athlon 1.2MHz with 512MB of RAM. I would like to change this computer into a server where to host my websites. However I do not have any experiance on what web hosting includes. I am definitly going to use tomcat or jetty as application server. Would it be enough this computer? could I just upgrade it? would the people comming on my website experiance a very slow loading?
View Replies!
View Related
Which OS For Home Web Server
I am currently leasing a VPS and the kbps upload rate is below my upload rate at home, so I am going to save 50 bucks/ month and move it to home. I plan on using an older dell desktop with 512mb ram. I would like to use this also as sorta a sync host between my laptop and desktop. I would like to be able to sync certain folders and files which would be stored on the server. I also obviously need to have ftp access, smtp (no knowledge of this area), mysql, php, etc. My big question is which OS should I use? I have fiddled around had a local copy of my site working on my main desktop in windows using apache. Should I stick with windows or would I be better served using a linux distro such as ubuntu? I currently have a static IP address at home. How do I handle the nameservers? Another thing is how easily can I manage things like emails and subdomains?
View Replies!
View Related
Starting A New Web Server
I want to start my own web server it will be hosting company for future. I will host to 100-200 domain and web sites as begining. Os will be linux red hat with cpanel. My system will be; HP ProLiant DL385 G2 (438816-421 HP DL385G2 2220) Two opteron cpu's Ram 8gb HDD 8x HP 146GB 10K SAS 2.5 Hot Plug Hard Drive Fire wall Cisco Pix 515e My questions; What can I do for this server works non stop 7/24 if any problem happen hw or sw base? How many of same system I have to buy? For example if I need to buy 2 of them. What kind of setup I need? (Like mirror, load balancing, vps, proxy) or if there are some hw base systems, what is your succes?
View Replies!
View Related
Monitoring A Web Server
I am running windows 2003 on my web server and I am hosting a program which I have users accessing all day. I was wondering a way that I could monitor who accesses the server and how many times daily. They already access the server with a username and password
View Replies!
View Related
Web Server Specs
What do you think are good specs for web servers? We've been usually buying dual processor, dual core, 2gb ram, 2x36gb 15k scsi in raid-1 servers, but I wonder if we could get away with significantly less. Is it better to have multiple, cheaper servers for Apache? What are some example specs? What about something like this: Intel Xeon 5130 2.00GHz 1333MHz 4MB DC x 1 2GB FB-DIMM - DDR II - 667 MHz (2x1GB) x 1 74GB S-ATA 10000 RPM ... OR ... 250GB S-ATA 7200 RPM ... OR ... 36 GB SCSI 15000 RPM
View Replies!
View Related
Seperate Web Server And Db Server Or
im currently planning to launch a number of sites that may or may not take off. Basically my question is that most people tell me to seperate the web server and db server, and i believe this is because of interfering IO between the two, and the cpu not being able to alocate between both of them effectively. How effective do you think a Dual Xeon box would be to run apache,squid,php, and mysql. I figured my original plan was 2 servers (each xeons for the db with a raid1+0), but going a dual xeon seems like a decent choice since we would only need to pay for 1U at a colo with opportunity to move the db off of it later when we need to and replicate the webserver when needed. Let me know if im off my mark here. I didnt post req/sec or anything because this is just a seperate xeon boxes VS dual xeon single box.
View Replies!
View Related
DNS And Web Server Are On The Same Server
I have a few Websites on my server. I always used some one else DNS servers. Now I decided to try to use my own DNS server. It is installed on my webserver. During the testing I found that, when I try to use it, it assignes private IP address instead of public. This is correct for internal DNS use but wrong for the outside world. Can I do something about this or should I have the second server that hosts my DNS?
View Replies!
View Related
Hostgator, Web.com, 1&1, WestHost, DreamHost, And Yahoo Web Hosting?
I am trying to pick a hoster, but I would like some help please. The site I am making is going to be a personal site, with a photo gallery, which will start out with about 500-1000 photos and will grow anywhere from 10-a few hundred a month. I also plan on having a small blog. The hosters I am currently looking at are: Hostgator, Web.com, 1&1, WestHost, DreamHost, and Yahoo Web Hosting. Which provider out of these do you think would be the best? Also are there any other providers you recommend.
View Replies!
View Related
Setting Up Home Web Server
I am running windows 7 Ultimate. I have installed Apache, PHP and MySQL cus they are |33t. I am using free dns.. the domain name is PowerfulPlacement.com localhost WORKS PowerfulPlacement.com does not work... Here is my VirtualHost in my httpd.conf.. NameVirtualHost 72.219.185.53 <VirtualHost 72.219.185.53:80> ServerName powerfulplacement.com ServerPath D:/www DocumentRoot "D:/www/" <directory D:/www/> allow from all </directory> </VirtualHost> I dont know why powerfulplacement.com isn't working. I remember in linux I had to start up named or dns or something for it to work but I'm not quit sure with Windows.
View Replies!
View Related
Which Web Server/application Interface
This is my first post here and this sub-forum seems to be adequate for my question. If it is not, I apologize in advance. I want to create a web application for an upcoming project of mine that has the potential to attract a large number of people. So the web application needs to be fast and secure at the same time. I used PHP for minor projects for some time now, and although it is really efficient for quick web development, it _appears_ to me like a house of cards waiting to collapse. If you know how to use it properly, it can be acceptable, but there are still numerous security exploits in PHP itself that have surfaced over the last decade. Additionally, it tends to be quite slow and has a lot of bugs that aren't really security related, but can make your life hard. I've run test scripts (that I optimized for web deployment) on my own computer, and even on my own computer which is way faster (in terms of CPU speed, number of cores, RAM, and so on) than most servers, it runs slow--without any database access! And I honestly don't buy the "your server will spend most time in your database anyway, so don't worry about that" statements. I've tested it with databases that have millions of rows in them, and coded a test script that accesses the table and then calculates stuff from that and outputs it. If I comment out the database access the time needed to execute the script is only marginally reduced. I observed the same in my other projects. I also used Python and the problem seems to be the same. Now, before the PHP/Python fanboy crowd yells at me: "Google uses Python and Wikipedia uses PHP, too". Yes, I know. But they have a lot of money to throw at the problem and can easily add new hardware if needed (Wikipedia alone has collected over 6m USD in the last year from donations). And a Wikipedia staff member I talked to some while ago told me that it's a miracle that Wikipedia is still running given that it is written in PHP with all its security problems (not my words). So I thought: why not use a compiled language? The obvious advantages would be that it is faster, and that I can leave out all the junk that is not needed in my case, thereby decreasing the chance of badly written code running in memory. I have coded in C and C++ for a long time, including security-critical applications. So I absolutely know how hard it can be to write really secure applications, but I think it is also fair to say that I know how to minimize the risk of buffer overflows, validate user input properly, and so on. I often force myself to review my code some time later, in order to spot coding mistakes that you just won't see the first time. Additionally, I've created a neat string library around the standard library that makes string manipulation as easy as in PHP or Python. So I continued my thinking: why not use C/C++ for your web applications and 'somehow' interface them with your web server? And that's the problem--the 'somehow interface'. I don't know what to use that won't be deprecated in like 5-10 years from now. CGI seems to be quite okay, but I heard there's a huge overhead due to loading the executable into memory each time a user requests a page. FastCGI seems to be a better solution, but is not as widely supported. My question is: What interface should I use if I want my web apps to be compiled? CGI, FastCGI, what else? The interface needs to be supported into the far future, it needs to be efficient and fast. And there's also one more important factor: time. Coding the application itself is an acceptable time loss, but if I can only run the app on a dedicated server and have to manage the whole server myself, this can become quite cumbersome. I'd really like to use a solution that can be run on a managed server.
View Replies!
View Related
Web Server Setup VPS
I've registered a new domain name and 'hired' a Virtual Private Server (not managed) to host it. I know 'some things' in php and web design but I'm newbie with configuring servers (especially remotely on a Linux server.... )... This is what I've done so far : 1. registered domain name at namecheap.com and set up DNS there (my VPS server names) 2. I've installed Linux Ubuntu 8.04 on my VPS 3. I've downloaded and installed XAMPP 1.7.1 on my VPS I've registered my domain name yesterday and it is still 'invisible' when I type in the address... BUT when I type in my VPS's IP address, the XAMPP welcome screen appears (MySql isn't running though...). I know this is a child's play for a Linux expert, please if someone knows a good tutorial, step-by-step guide on how do I set up everything to work properly....
View Replies!
View Related
Configure CentOS For Web Server
im using Vmware i want install centOS ( vps ), Im try to install text mod , before start install centOS ( Blue Screen ) ask about install some package ! like, Editors, Text Based Internet, Server Configuration Tools.... i want know for web server ! which package must checked ?
View Replies!
View Related
Web Server Setup VPS
I've registered a new domain name and 'hired' a Virtual Private Server (not managed) to host it. I know 'some things' in php and web design but I'm newbie with configuring servers (especially remotely on a Linux server.... )... This is what I've done so far : 1. registered domain name at namecheap.com and set up DNS there (my VPS server names) 2. I've installed Linux Ubuntu 8.04 on my VPS 3. I've downloaded and installed XAMPP 1.7.1 on my VPS I've registered my domain name yesterday and it is still 'invisible' when I type in the address... BUT when I type in my VPS's IP address, the XAMPP welcome screen appears (MySql isn't running though...).
View Replies!
View Related
Web Server Accesses Vs. Specs
I'm wondering what kind of web server load that people are dealing with when it comes to their web (Apache, IIS, Lighttpd, nginx, etc.) server. What information I'm curious about: How many raw accesses your web server is dealing with in a given month, and what kind of hardware you have to serve those accesses? If you have multiple servers, pick the one that has the most accesses in a month. My results: My server gets ~2,500,000 accesses a month (about 1 per second) on Apache. The server is a AMD Athlon 64 3800+, 1GB RAM. Hardware handles those requests with no problems.
View Replies!
View Related
Web Server Performance Testing
Is there a site which will enable me to enter url of my website and it will simulate visitors from multiple locations. It needs to open the page completely, and run for example 10 minutes. Two things I found are host-tracker, but it just gets headers from multiple locations, and does it only once. Another thing is Paessler software which can test exactly what I want (number of visitors for some period of time with full page download) but it must be run from one (my) PC, so I can not test bandwidth from multiple locations. I need combination of these two, anyone knows for something like that on the net?
View Replies!
View Related
Buying/building Web Server
So I need to build or buy a server to run my site. The site will use a basic LAMP setup and we will also be allowing for file uploads and downloads. File sizes aren't expected to be too large, mostly word/PDF documents and maybe some Powerpoint presentations. At the moment we can only afford one box to run the whole site so we need to build something that can handle both file serving and basic site stuff. I'm wondering what kinds of hardware we would need to make this happen. If I were to setup a box with a quad core CPU, 4-8GB of RAM, and a few 15K RPM drives would that be able to handle file serving and PHP/mySQL? Would multiple processors be required? What about RAID? I guess the real question is what kind of hardware requirements are involved with setting up a file server. I'm guessing running PHP and mySQL is not really an issue but I don't want the site to slow down because of the file serving. I'm sure some of you have experience with this sort of thing so if anyone knows please let share your thoughts.
View Replies!
View Related
Which Operating System For Web Server?
I have always used debian on my virtual machine but was just curious as to what OS people use for their hosting? The company I am looking at moving to for hosting offer the following options: * Debian * Ubuntu Server * Open Suse * Free BSD * Fedora Core * CentOS * Gentoo * Slackware * Windows 2003 Basic * Windows 2003 Pro I have heard from a lot of people that Freebsd is good for hosting but just wondering what your views are
View Replies!
View Related
Using A Mac Mini As A Web Server
I just read about this Mac Mini colocation service. I currently have a dedicated server, but the pricing of this option is very attractive. Can this be done effectively from a Mac Mini? I'd be running a number of MySQL databases and about a dozen websites (which I'm currently doing from my dedicated server with no problems). Anyone have any experience or advice to offer on this path?
View Replies!
View Related
|