I want to run .asp pages on a windows server where i am currently running .HTML files (STATIC without any script or database). I want convert those .html pages to .asp (without any scripts).
So WHAT DO YOU THINK, that .html (static) should work exactly same like .asp (Static) ? Suppose .html pages DO NOT CREATE any issue with IIS load , so using same (basic html code) in .asp would create any issue with APPLICATION POOL (IIS)?
My ISP here in the UK does not provide static ip addresses. I'd like to be able to set my server to only accept root access attempts from a set IP.
I am aware of how to set this up on my server, but not on my own machine.
I'd appreciate if anyone recommend the best service to use when seeking a static IP address and also point me in the right direction of documentation that explains how to utilise this IP (connect through it so when connecting to my server it sees the static IP and not my dynamic ISP IP).
I've had a search on WHT and Google but most of the documentation I've encountered is for people who want to run a web server from their home machine and so want a static IP for incoming connections.
i have a domain hosted at eNom which i would like to point to my FTP server which is running on my box at home. I have a static IP, and BulletProof FTP server installed. Now im just unclear how i can have www.mydomain.com point to 212.12.34.56:21.
I currently have an existing web hosting package with a web host. However, I need to supplement that with a file hosting service for my users.
I'm estimating that I will need about 2Gb disk space, and approximately 30~40Gb of traffic monthly. This will just be plain static file hosting. I don't need any scripts, databases, etc.
Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be
this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM)
There are other sites on the server, and they are running fine.
One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file..
Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly.
The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes.
Is there a common configuration problem that might be causing this?
If you want to see this phenomenon, here are a few test files: [url] [url] [url] [url]
I want to setup static routes on my servers so that my colo provider won't bill me for traffic among my servers.
I use FreeBSD 6 on my servers. I read the FreeBSD handbook on this and it looks like i should do this:
route add -net 0.0.0/24 0.0.0.3
where 0.0.0/24 is the C class I have from my provider and 0.0.0.3 is the IP address of my server (one of them/any of them).
However, this route appears to already exist as i get this error when running that route command:
route: writing to routing socket: File exists add net 0.0.0: gateway 0.0.0.3: route already in table
Do I need to use a non-routeable ip block (eg 192.168.x.x) for this? Can I use "real"/routeable ips? Does FreeBSD take care of this for me automatically?
I'm using XEN to setup my VPS. The installation have no problem for the first two server. On the 3rd server, I install using DHCP IP and it's ok.The problem is when I change the DHCP IP to static IP .
Using Centos 5.2, I'm using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and restart the network service network restart, the IP change, but outside or other static IP VPS network can't ping to this server.
I've tried to change the /etc/xen/the-host-config to include the IP . the results is still the same. Is there some script or way I can use to bridge this new 3rd server to the Xen host ant other network?
I've been running website for several years, however, there's one thing that I've never quite figured, most likely because I haven't gone over to dedicated/vps yet.
How much memory would a static 10kb HTML use or for that matter a PHP page (static)?
I know it's quite a broad question, but I'm asking this as I might start a project and this one page may receive many hits. Oh and, would the memory usage go up if I have embedded objects from an outside source (e.g. embedded Youtube videos)?
I am using the following configure command in hope to generate a PHP binary which is totally independent, standalone and can be moved to other systems without caring for dependencies:
my current servers are part of this mess with Alphared: [url]
what I'm looking for:
static content main server: average cpu, average ram 15-20gb data tops, but could use a fast drive need about 6tb/m of higher quality bandwidth 2 machine cluster for forums
only thing on this will be vBulletin forums. current database is about 6gb (~7 million posts) averaging about 800 members active per 15 mins this isn't for a business, so it all comes out of my pocket. however, after the $#@! with Alphared I do recognize the importance of a good host and I am willing to put money toward that as needed. however, my goal is in the $600-$800/m range for everything. is that price range doable? if not, what is a reasonable price for what I'm asking? and can anyone recommend reliable hosts (especially one that can correctly setup the cluster for the forums).
I'm planning to setup a server ONLY for hosting of static binary files varying from few KB to few MB in size.
I've seen some of the litespeedtech performance benchmarks, which you can find here: [url]
From the "small static file" benchmark chart, i can see that IIS6 beats lighttpd in this test.
So i'm wondering does the IIS6 really have better performance at file hosting than lighttpd.
Actually it does not matter which operating system i will be using at this server, since i will use it only for file serving. With lots of concurrent connections. Possibly thousands of connections.
I need some feedbacks on this, so i can decide, IIS or lighttpd.
Few more bucks for win2k3 won't be an issue here, if it's performance is better than lighttpd for this kind of use.
I transferred my WordPress site to static HTML website, but some other website have a link to my old WordPress site URL....
I want to redirect all traffic from that URL to new URL which is URL...., but my redirect in .htaccess file doesn't work (Redirect 301 /?page_id=1234 URL... because of the query string."mod_rewrite" to create the right code in .htaccess file.
I'm looking for a way to get a little more mileage out of Apache + PHP environment without losing Apache capabilities. In shared hosting environments, losing features such as .htaccess and a real mod_rewrite are not even on the table. I'm also not willing to accept the performance hit and connection issues that are inherent with FastCGI, so that means mod_php.
In this particular situation, there are two busy sites, which are the problem.
These are a few ideas I've been thinking about.
1. mod_proxy + nginx: mod_proxy sends static content requests to nginx. This requires two sets of vhost files to be maintained.
2. mod_cache: Caching common static content such as page graphics .css, .js, etc.
3. squid
If you've been down 2 or more of these roads, I could benefit from your experience.
we have two servers; webserver and database server connected directly to each other via a standard cat6 cross-over cable. I am setting up their static IP's and have a few questions.
Both are running windows 2003. I went and setup the static ip's as follows:
I'm configuring an VPS that's going to serve all static stuff and absolutely no dynamic scripts at all.
What could be the bottle necks with all these static content websites? Can a 256MB VPS handle a static website receiving millions of page views a month?
I'm trying to serve as much gzipped content as possible on my web site. I will gzip dynamic pages on the fly using PHP, and I plan to gzip static content just one time, not to use much CPU, and serve css.gz, .js.gz files, etc... So, I uploaded a test.html file and a .css file that changes the color of the text to red. I gzipped the css file:
%gzip style.css
I also uploaded an .htaccess file with this content:
RewriteEngine on RewriteBase /gzip/ RewriteCond %{HTTP_ACCEPT_ENCODING} gzip RewriteRule ^(([^.]+.)+)css$ /$1css.gz
For now I'm not going to include any gunzipped style sheet, just to make sure my browser picks the gzipped style sheet. I also uploaded a phpinfo.php file to make sure I have mod_gzip. So, here's the list of files I have:
But when I open the test.html file: [url] the style sheet isn't applied. If I upload a regular style.css file, it works fine. It seems the Rewrite rules aren't taken into account. Do you know how I could server the gzipped style sheet instead?
Q: Does one need to have more than one ISP (outside) static IP address to host its own mail and web server?
Or will one static IP with port forwarding to two different machines (one mail and other web server) be good enough?
What would happen if one wants to host two websites on one machine (web server) and have webmail to access emails (presumably via port 80) on another (mail server)?
My only concern is I guess my ASA 5505 won't support more than one assigned static IP or am I wrong?
I have a problem with NO_OF_CONNECTIONS. The default is 150
For example, if a website has 200 thumbnails in one page, then the user will get banned. But in my case, each time a user have only 1 connection(He only access 1 flv file each time).
So, is that safe for me to decrease the number to 20.
I can see a lot of IP having more than 80 connections, which I think they are ddos attack.
I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff).
Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.
I have an issue with Plesk and Awstats not building the html pages for website statistics. Problem is server-wide i.e. it effects all domains.
I've tried to manually run the /usr/local/psa/admin/sbin/statistics with every possible options but all that happens is that awstats calculates new stats to the vhosts /var/www/vhosts/system/domain.tld/statistics/webstat/awstatsMMYYYY.domain.tld-http.txt file.
Nothing is put into the /var/www/vhosts/system/domain.tld/statistics/webstat/YYYY-MM folder which should contain the static html pages.
Example listings:
Code: # ll /var/www/vhosts/system/<domain.tld>/statistics/webstat total 80 drwxr-xr-x 4 root root 4096 Nov 5 10:58 ./ dr-xr-x--- 6 root psaserv 4096 Oct 23 12:36 ../ drwxr-xr-x 2 root root 4096 Oct 23 13:12 2014-10/
[Code] ....
I was able to create the static pages by running Awstats directly:
So things I have already checked: - Awstat paths in /etc/psa/psa.conf are correct - Domain configs are ok as awstat can create the stats data and awstats_buildstaticpages.pl can can create the pages just fine - File permissions are ok
I just cannot figure what the problem is. /usr/local/psa/admin/sbin/statistics doesn't give any errors but on the other hand it doesn't have a debug option either which might be useful.
how to setup Nginx webserver on a cpanel server to serve static contents, say /images folder from every domains hosted on the server so that Apache's load will decrease?
I had an hosting account with a copany, recently I migrated to VPS managed by plesk 11.5..I was able to get the awstats database file from the old host, and i have copied them in the /var/www/vhosts/mydomain.com/statistics/webstats/ folder, together with the other database files genereted by the new VPS hosting
Only problem is that plesk only rebuilds everyday the static page for the current month, and I see no way to ask him to build the pages for this past months. Also would be good if he would rebuild the header to have updated the dropdown menu from which to choose the month to dispay..Is it possible to rebuild manually these static pages?
We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load.
At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications.
The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system.
If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone.
The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128.
Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files.
I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.
Attached is a (badly) drawn diagram of two sites, connected by a vpn.
The site to the left, is network 10.0.0.0/24 which runs a linux server as the router for the network.
The site to the right, is network 10.1.0.0/24 which runs a windows 2003 server as the router for the network.
Now, my problem is, the clients behind the windows 2003 server can ping any machine on the first network because i setup a static route to route all traffic to 10.0.0.0/24 over the vpn interface.
now, my problem is, only the linux server can ping any machine on the windows 2003 network, any client behind the linux server cant seem to route over the interface.
I have the following route on the linux server: .....