2 Servers, Redirect To Other
Jul 3, 2007I have 2 dedicated servers in 2 different locations. How can I make traffic redirect over to another box when the first box is unreachable (not mirroring the sites)?
View 0 RepliesI have 2 dedicated servers in 2 different locations. How can I make traffic redirect over to another box when the first box is unreachable (not mirroring the sites)?
View 0 RepliesI have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
We send mail to another servers but we cant recieve mails another servers. We can't recieve with webmail and outlook.
I look logs but there is no error and our ip is not in blacklist.
there is the error in our server
[url]
linux cpanel centos 4.6
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP)
111.222.111.223 (Web Load Balancing IP)
111.222.111.224 (MySQL Load Balancing IP)
If a connection is made to .223 it would pass the request to one of the web nodes.
If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
View 6 Replies View RelatedI have multiple domains on my web server. One of my domains does not display its website when using example.com in the location bar.
Eg. example.com redirects to site2.com but www.example.com displays properly.
I tried adding to the htaccess file:
Quote:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.example.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
It doesn't work. The redirect does not occur.
A benchmark for my website sais this:
Search engines may think serviciionline.net and www. serviciionline.net are two different sites.
You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. For example, serviciionline.net seems to have 3,058 inbound links whereas www. serviciionline.net has 32 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.
How can I do that redirection? I have cPanel Pro in my hosting, and as far as I can see, with or without www, I land in the same place
I am one of those TP customers that got affected by the DC outage.
to redirect my website to a temporary status page for my members... I have successfully redirected www.domain.com but I need to also redirect the main part of the site www.domain.com/forums < is there any possible way of doing this without having access to my server? I am using Namecheap as domain registrar.
I am trying to redirect all traffic from one domain to another, via:
Redirect permanent / [url]
The problem I'm running into is that some of the subpages have been renamed on the new site, i.e. -
[url] > [url]
There are a LOT of pages. Is there someway to redirect everything to the new site's homepage, and what will that do to my SE rankings?
I have been reading up on redirects using .htaccess files but it doesn't seem to be doing any good.
I need the following link:
[url]
to automagically redirect to:
[url]
I tried:
redirect permanent /fsbo /sellers/articles/fsbo.htm
But no dice.
Also - will doing a redirect like this cause an kind of SEO problems? I want my visitors to be able to enter something short like that instead of the long address.
i have a Centos VPS with webmin
i have modified my .htaccess file to redirtect all users from WWW. to the root of the domain
i also tried to block some ip addresses through my .htaccess file
but it seems that whatever code i enter in my .htaccess file does not work. i think it is disabled somewhere as both the abvoe codes do not work
how can i enable .htaccess file?
I have a website where my home page used to be mysite.com/index.htm. It has many links pointing to it.
Now I have created mysite.com/index.php which is to be the new home page.
What happens now? I will be getting some visitors to htm and some to php but the php page is my target page.
what is 301 redirect? i heard that when as a website publisher, you should redirect your mydomain.com to www.mydomain.com everytime as the domain with www. in front of it bears more value... Is that true?
Btw, there was a time that i submitted two sitemaps to google, once for the domain without the www. and the seond with the www. I eventually took down the one with www.
So, as you may expect, there's only results showing up when i type site:mydomain.com and only 1 result for site:www.mydomian.com... i was thinking, mayb i should have juz list two sitemaps for the same site... any benefits/harm of doing that? does that increase PR or anything?
I have 3 websites redirected to one.. all 3 websites have wordpress installed but I already redirected these sites to my other blog...
Strange thing is, I am still getting adsense impressions in these sites...
I have a web application built with PHP which uses the MVC design pattern.
The application forwards all requests through index.php.
I am using IIRF (similar to mod_rewrite - IIS6 has no native rewrite module) to rewrite all requests through the index.php file and this is successful.
My application has several "modules" which I wish to be accessible via different URLs. For example the following is how I wish to set up my URLs: ...
is it possible to register a domain name and just use it to re-direct to another domain without paying for hosting etc? for example if i want a standard url to point to a free [url] blog? how would i go about doing this?
View 8 Replies View RelatedApache redirect. I would like to point all the old site URLs to my site homepage e.g.
[url]should point to [url]
or better,
[url]should point to [url]
tell me the redirect code i need to add to my .htaccess file to make this work?
The thing is that we have a dedicated server at our company hosting several domains, and right now you can access them both with the www prefix or without it, but there is no redirection in case you access without it, and this has negative impact with SEO related stuff.
I have the rewrite apache module enabled (I tested with a script I found on the net), and I also tried a test configuring a single domain including some code about redirection.
Right now I'm getting a nice "500 Internal Server Error"
This is the code in .htaccess
Code:
Option +FollowSymlinks
RewriteEngine On
RewriteCond %{http_host} ^mydomain.com [NC]
RewriteRule ^(.*)$ [url]
(mydomain.com is, obviously, a replacement for the real domain in both cases)
I am trying to figure out how to do the following:
Say I have a URL like this: www.myreallylongsiteurl.com and I want it to automatically redirect to www.myRegularURL.com.
How would I go about doing this? Do I actually have to setup a whole new site in IIS and have a page there that just does a redirect or can I set up some sort of alias for this?
Also, my customer would like me to set it up so that myRegularURL.com redirects automatically to www.myRegularURL.com. they don't want to have to do the www in the url. Do I do this the same way as above?
I am trying to do is have a redirect so the files get redirected to a subdomain. So domain.com gets pointed to domain.newdomain.com. However, I want to keep the current URLs, so say I got [url], the below code is just redirecting that url to [url]rather than
[url]
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule (.*) [url]/$1 [R=Permanent]
RewriteCond %{HTTP_HOST} domain.com$
RewriteRule (.*) [url]$1 [R=Permanent]
I host my academic website at my university. I'd really like to point my domain to it.
Can anyone recommend me a free redirect DNS service (Assuming that's what I need)
A spammer has sent a ton of users a phishing email requesting the users password...
I work for a regional ISP, and we deal with alot of elderly people who would probably send him a response with a password... I looked over the mail log and one person did respond back to him...
Basically... I want to do like... a virtusertable entry that forwards any email sent to HIM... to ME...
so basically... his email is for instance: phishingspammer@gmail.com
I want to do something like this in the virtusertable (I understand it probably cannot be done thru the virtusertable):
phishingspammer@gmail.com goodguy@regionalisp.com
This way I can alert the people who DO try to send him emails that the email was stopped and to never respond with a password.
we change the name of one our directory on our host, we have some file on this directory and some website linked to this files. now how can redirect all address to new address?
for example our old address is:
[url]
now this file located on:
[url]
I know how to do a redirect to a new URL using a .htaccess file if I am pointing to a different server, however both domain.com and domain.com.cn are pointing to the same server, I just am wondering what I would add into my .htaccess file to get it to redirect from domain.com.cn to domain.com?
View 4 Replies View RelatedI have a .swf file that I directly linked to digg. How can I redirect that specific file to a different page/server to relieve some of the pressure from all those users?
View 0 Replies View RelatedWe have a situation where we want to rename about 550 HTML pages. In doing so, we want to 301 redirect the old pages to the new ones - best choice I believe?
All:
What is the easiest way to do this? We are running Microsoft IIS. I don't want to burden the system admin (not me) with having to a manual operation on 500 + pages. Also, the page names will be completely different. Besides going from html to .asp the names will totally be changed from like abcd123.html to my-optimized-keywords.asp
Has anyone used a custom 404 page to handle this. How does it work?
I am trying to redirect from:
[url]
over too:
[url]
Now the software i'm using on the /forums/ is different, so i need ALL inbound links to any area of phpBB2 to redirect to /forums/ and be stripped of the "index.php=topic111.22."
All the redirects I have tried seem to leave the rest of the URL on then give a page not found.
I want to redirect 4-5 domains to another domain. That is, when a user goes to mydomain1.com, mydomain2.com, mydomain3.com etc. , he is redirected to the mydomain.com
What are my options here? The main site is hosted on a Linux platform and uses cPanel.
What are the different ways which in which I can redirect to my mainsite?
I have a question regarding folder redirection. For example if i have a url like
www.mydomain.com/forum
if i rename the folder forum to board and i want that if user put address www.mydomain.com/forum/showthread.php?t=585657 then it will automatically redirect to www.mydomain.com/board/showthread.php?t=585657 is that possible i want that every topic or file redirect to new folder?
I just recently upgraded my website from WordPress to WordPress Mu.
Everything went smoothly except for one problem. On WordPress, all my posts would appear as [url] but with WordPress Mu, it is now [url]. So whenever someone visits ht[url] or [url] they are given a 404 error because it no longer exists at that location.
I know there is a way, like a wildcard or something, that makes it so that wheneever anyone visits [url]anything it would change it to[url]whatever else was typed/, no? I can't figure out how to search for that exactly and tried reading through .htaccess docs and can't figure out how to make this work.
I just installed a RapidSSL cert on www.mysite.com
Works fine if a user types [url]
But what I'd like is if a user types [url] it shows up as secure. I tried a redired 301 in my .htaccess file but that doesn't seem to work.