How To Redirect Visitors To A Subpage Depending On The Url They Entered

Nov 5, 2007

My client has just purchased hosting (not through my hosting company but one they wanted to use) for their main domain but they also have a number of more specific domains that need to be pointed to a specific page in the website. The trouble is that for these additional the new host say they can only point to the main domain (IP address) at DNS level and not to a specific page.

Any idea how to go about this (apart from using another host!)? Can I use a script that can tell what url they have typed into their browser and forward them to the correct page? I want to avoid the need for a hosting package for each domain just for a simple redirect page!

View 7 Replies


ADVERTISEMENT

Htaccess - Redirect All Visitors Except Certain IP Address

Feb 25, 2008

could not find a solution for this reversed blocking

I would like to redirect users who access the site from any IP address to be redirected like this:
RedirectMatch /(.*)$ hxxp://extranet.domainname.com

and have anyone from an IP address of 123.123.123.123 to just access/view the regular site, so not to be redirected.

how I can do this in my .htaccess file?

View 4 Replies View Related

How Do I Redirect Visitors, Who Type In My IP Address, To My Domain

Nov 5, 2009

I have what seems to be a simple redirect question. I have a dedicated server and a few static IP addresses, but I want to make it so if someone were to type in my IP address in their browser, Apache will redirect them to the domain name. (Typing in [url]

What happens now is that if you were to type in my server's IP address, it will show you the FIRST VirtualHost container that's listed in httpd.conf. This is not so bad since I've placed my main company site at the start of the list, but I'd rather redirect the IP into the domain name I use.

I read somewhere that you can place Mod RewriteRules directly in the VirtualHost container rather than using .htaccess, but the few "rules" that I tried didn't seem to do anything. And yes, I restarted Apache each time I edited httpd.conf.

Is there an easy way to do this?

ALSO, is there a way to redirect the name server address too? If you type in [url]into the browser, it acts the same way. I would ultimately like to redirect both the nameservers and the IP address(es) to the domain name.

View 4 Replies View Related

How2 Redirect Visitors To A Mobile Subdomain

Aug 20, 2008

We have an established site for which we want to add a 'mobile-appropriate' subdomain geared to phone surfers.

Our host (1and1) confirms their servers detect mobile visitors but they couldn't help me with how to read the server flag(?) or whatever and then redirect the server to our mobile subdomain when appropriate.

Can anyone point to an appropriate how2? (Note I don't need "mobile code" help help - just help with how to redirect mobile visitors transparently off our main site and into its mobile subdomain).

View 3 Replies View Related

Moved Content From Root To Subdomain And Need To Redirect Visitors

Mar 16, 2007

I moved my content from www,mysite,com to subdomain,mysite,com. I'd like to direct people who come to my site from search engines to the new location of the content.

For example, if they searched for pink purse and the search result was www,mysite,com/pink_purse,html, when they click that link, I'd like for them to redirected to subdomain,mysite,com/pink_purse.html. Can this be accomplished with some .htaccess magic?

View 4 Replies View Related

Using Dreamweaver I Entered This Code

Aug 2, 2007

I am using dreamweaver to build our corporate intranet for a company I work for. I created a header.php file for a menu that is completed. Using dreamweaver I entered this code:

<?php
include("header.php");
?>

in the appropriate section of the index.php file. The file name is correct and in the right place. It shows up fine in dreamweaver, but the menu is missing when you view it on the intranet. Please help guys. I have been at this for 2 days now and my boss is waiting for a presentation on this.

View 14 Replies View Related

Apache :: Gateway Setup - Point To Different Webservers Depending On Domain Name

Jul 17, 2014

I am looking for setup a gateway (reverse proxy I guess?), specifically how to configure Apache to point to different webservers depending on domain name.

I currently have a single webserver running multiple virtual domains all accessible via a single external IP address.

I would like to break this into 2 servers each running multiple virtual domains accessible via gateway with a singe external IP address.

As an example, a single internet IP address points to port 80 on the gateway machine. The gateway machine will determine if its example1.com, example2.com, example3.com or example4.com. If its example1.com or example2.com it will direct internally to webserver1 and if its example3.com or example4.com it will direct internally to webserver2.

Webserver1 and webserver2 each host different websites via virtual hosts.

Is this possible and if so, what is the correct configuration of the gateway machine. I currently have installed apache2 with mod_proxy enabled, but I am struggling with configuring it properly.

View 1 Replies View Related

Visitors Limits

May 17, 2009

I want to add visitors limits for my website. Is any way to i do that ? For example i want only 50 visitors to be the same time on my website and if come more to they get a message the website is full, please come back another time.

Is any script or other way to do that?

View 2 Replies View Related

VPS Visitors Configuration

Oct 28, 2007

I have a website with 30 000 daily visitors, suddenly it down to 8 000, then i changed of hosting provider, but i have the same problem, i know that my real visitors are more than 8000.

View 3 Replies View Related

7,000,000 (7 Million) Visitors Per Day......

Dec 26, 2007

is the best way to handle a 7 Million to 200 Million visitors a day.Knowing that those will be the unique ones only.

View 24 Replies View Related

VPS Requirements For 10,000 Visitors And 50,000 Pages Per Day

Oct 15, 2007

Currently i am running on a Mediatemple DV base VPS that provides me 256MB guaranteed RAM, and a processing speed of appx 190Mhz and is on Virtuozzo.

Currently my site keeps going down and i dont know what to do...

Can anyone please suggest me a better VPS for my site.

My Budget is around 60$.

I checked linode and they are providing 900MB of RAM guaranteed, along with 533Mhz of processing, but the only problem i feel is that they are running on UML.

How good is linode?, anyone used them before, any previous experiences.

how stable is UML?, is it better to have Virtuozzo or UML.

I am actually looking for Xen servers,Can anyone suggest me on Xen?

Vpsland is providing Xen servers, do anyone have any previous experiences with Vpsland,Linode.

Even JaguarPC is providing a VPS for 512MB ram, on vitruozzo or 59$,how good is JaguarPC, any previous experiences...

If you can provide me more services that fall within 60$ and a minimum of 512MB ram,

View 6 Replies View Related

Block All Visitors From Country X

Oct 5, 2007

I have experianced a number of attacks all from a specific country.

I would like to completely block access to all users from that country.

I realize that this is not fool proof because people from that country could still use a proxy.

I also realize that people in that country that are not hackers would not be able to access my web site but for the time being I still want to put this in place.

I use Linux / Cpanel / Apache. I have iptables installed.

Is there any way I can block all access to people from the problem country?

View 4 Replies View Related

How Many Visitors On Shared Hosting Account

Aug 27, 2009

how many visitors bear a shared hosting account, Because if visitor grow it goes down..

View 20 Replies View Related

To VPS Or Not For A Gadget Website With >6000 Visitors/day

May 12, 2009

I am currently on a shared hosting paying a typical $7/month. The traffic of my website is increasing at a rapid rate and sometime twice or thrice in a month, I get those cpu exceeded errors. I'm running just 4-5 plugins on my website, nothing much and the sponsors ads are hosted on 3rd party sites to reduce the server load.

About my website:

It is a gadget site running on wordpress software with mysql db now exceeding 22MB. My monthly bandwidth goes near 80GB. Currently I get 6000-7000 visitors in a day and I've some future plans which will make it to 10000+ in coming months.

What do you guys say? To go in for VPS or still remain with shared hosting?

If you say that I must go for VPS, then which is the cheapest and most reliable VPS. My budget for my website is upto $20/month

View 14 Replies View Related

Many Visitors Cannt Enter My Site

Jul 2, 2009

many visitor cannt enter my site

and many user say that browsing my vbllieten forum very slow

and there is user can crowse my site very fast

i check blocked ip in cvs and there is nothing

View 9 Replies View Related

Dynamic IP Addresses, Counting Visitors Etc.

Feb 22, 2008

Many ISPs assign dynamic IP addresses and I'm wondering if the following will be a problem for my site if it for example had 5 million all-time unique users:

So if someone new comes to my site with an IP that has already been in use by someone else who visited my site, that user will use the same databases with the previous user and won’t even be considered a unique in user.

Do dynamic ISP given IPs work so that someone else gets that IP once you release it?

View 5 Replies View Related

New Host For Wiki With Thousands Of Visitors Per Day

May 14, 2008

I am running a very successful wiki based website that has outgrown our current web host. The site runs very slow because our host says we are hitting the memory limit on the server (currently under a shard hosting plan).

Thousands of visitors per day
Ten thousand page views per day (all PHP)
20GB bandwidth per month
MySQL database

View 12 Replies View Related

Optimizing Apache 5000 Visitors Per Day

Jul 7, 2008

drupal based flash archade website in that more 5000 visitors per day. I like to optimize the Apache & MySQL in best.

4GB RAM
Apache : 2.0.52
PHP : PHP 5.2.5
MySQL : 5.0.51

httpd.conf

KeepAlive Off
MaxKeepAliveRequests 50
KeepAliveTimeout 10
StartServers 16
MinSpareServers 8
MaxSpareServers 64
ServerLimit 1000
MaxClients 500
MaxRequestsPerChild 5000
ServerSignature On

my.cnf (Seprate box with 2GB RAM)

log-slow-queries = /var/log/mysql/mysql-slow.log
skip-external-locking
skip-locking
skip-innodb
skip-bdb
skip-name-resolve
max_connections = 800
max_user_connections = 800
key_buffer = 36M
key_buffer_size = 64M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 3M
thread_stack = 128K
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 999999
query_cache_limit = 8M
query_cache_size = 64M
query_cache_type = 1
tmp_table_size = 16M
old_passwords=1
user=mysql
quick
quote-names
max_allowed_packet = 16M
[isamchk]
key_buffer = 16M

View 9 Replies View Related

Anyway To Determine How Many Visitors Subscribe To Rss Feeds

Jun 5, 2007

Is there anyway to determine how many visitors subscribe to an RSS feed? (besides using something like technorati or feedburner) Does anyone know of a log analyzer will do this or another custom solution?

View 0 Replies View Related

Site Not Accessible To One Group Of Visitors

Dec 21, 2007

I have a reseller package with Hostgator, I use it to host a few sites on. Recently one of my customers started to notice that periodically, his site goes down - only to him.

I and others can access it just fine but he cannot nor can his friends in his local town. Most of the time it is on line.

I have checked the server DNS and domain name settings and all is fine.

I can't understand what the problem could be, it seems strange that almost everyone in the UK and US can access it but he cannot.

He has cleared his browser settings, reboot his connection and tried pinging his domain but no luck.

I'm not too sure what the problem could be.

The domain is

[url]

View 7 Replies View Related

Getting Loads Of Unique Visitors From Italy On A Domain Not Used

Jan 19, 2009

I was just looking at awstats for a domain that is not in use and only got a max of 10 visits a month till October 08.

Now since November 2008 I have been getting a lot of unique visitors from Italy but there is nothing on the domain, no folders or files.

Here is what AWStats say:
Nov 08: 710
Dec 08: 1593
Jan 09: 4243 (so far)

These are unique visitors 99% coming from Italy

What do you think going on ?

The domain in question is testingurl.com

View 8 Replies View Related

Find Out How Many Visitors Are On Different Parts Of Your Site Concurrently

Jul 28, 2008

any way to find out how many surfers are on your website simultaneously / concurrently.

i have download site, scripts site and a forum on the same dedicated server using the same domain name. the forum tells me i have xxx number of users online... is there a way to find out how many surfers there are on the download and scripts part of the site?

i tried
ps -aux |grep httpd

but it shows significantly lower numbers than i can see on the forum. and i havent added the script and download parts of the site.

View 7 Replies View Related

How Many Visitors To A Website Will Make 5 Gb Per Month Traffic

Apr 28, 2008

How many visitors to a website will equal 5 gb per month traffic?

View 13 Replies View Related

Dedicated Server For 3000 Visitors Vb Forum

Jul 4, 2008

trying many hosting companies or datacenters.

I have a Vbulletin forum, the expected max visitors number is 3000 (peak time) , i dont allow attachemts at all (links only).

I need a managed dedicated server with server optimization service.

What server specifications would fit my forum and what is the price.

View 14 Replies View Related

Awstat Unique Visitors Weekly Report

Mar 2, 2007

i only see page, hits and bandwidth on the weekly report, how come the columns for unique visitors and visits are gone?

View 2 Replies View Related

Make IIS Inherit Visitors Permissions (Intranet)

Oct 9, 2007

I've built an intranet in PHP and configured IIS so it will run as the user that visits the site.

The company then has a fileserver that they wan't to list the files from depending on what rights you have on your user.

I've done the: "Integrated Windows Authenitcation", and removed "Anonymous access" -step.

When I debuged the fileservers logs it says that when I'm logged on from the intranet-webserver it tries to access the fileserver as my user, when I change to another machine it goes for a anonymous-account.

I thought the "Anonymous-access"-checkbox I removed removed that?

View 11 Replies View Related

Plesk 12.x / Linux :: Concurrent Visitors Max CPU Multiple Php-cgi

Jun 25, 2015

I am running Plesk 12.0.18 on Centos 6.4

I have noticed that the CPU on my VPS maxes out. This occurs when there are many concurrent visitors to any of the 7 domains. 6 of the domains run Wordpress and 1 runs php-bb forum. When I run top during high cpu I see multiple "php-cgi":

32664 xxxx 30 10 211m 38m 8228 S 21.0 0.9 0:03.70 php-cgi
32675 xxxx 30 10 209m 38m 7992 S 25.8 0.9 0:02.08 php-cgi
30809 apache 30 10 422m 98m 2492 S 8.8 2.2 0:18.07 httpd

Looking at the process

PID TTY STAT TIME COMMAND
32664 ? SN 0:01 /usr/bin/php-cgi -c /var/www/vhosts/system/websitex.com/etc/php.ini

The net result is CPU hits 100% and visitors are greeted with Service Unavailable ...

Output from /usr/local/psa/bin/php_handler --list

id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved