Redirect The Domain + Site Path
Is there a way that I could redirect total urls? By that I mean when someone goes to www.domain.com/whatever/file.php?id=345 they get redirected to www.anotherdomain.com/whatever/file.php?id=345
Im running apache 1.3
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Redirect From One Site To Another
I have decided to move [url]photo to [url] What should I do, so that a visitor who comes to [url] will be automatically transferred to [url] I want it to be all inclusing, so if someone comes to [url] he/she will be routed to [url] I have root access to my server. I need the most efficient way, if there is a choice between some.
View Replies!
View Related
Redirect Www.domain.com To Domain.com
Can anyone help me in redirecting my site www.domain.com to domain.com since SSL is for domain.com Here is my htaccess Options -Indexes DirectoryIndex home.php index.php index.html index.htm Could you please add me the correct code to redirect www.domain.com to domain.com? Also, do i need to restart Apache for taking effect?
View Replies!
View Related
Domain Name Redirect
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 Replies!
View Related
Domain Name Redirect/masking
I'v been searching the internet for ways to redirect/mask a domain in Linux (Ubuntu) and everything points me to godaddy. The server is ssh there is no control panel on it. So if anyone knows a way I can redirect my domain name and mask it that would be great. For example domain1 points to domain2, but in the address bar it shows domain1.
View Replies!
View Related
Redirect Domain To Www
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)
View Replies!
View Related
Redirect Domain.com/admin To [url]
How do i forward requests to [url] to [url]? I have usermin control panel running at https port 10000, but hosted customers have trouble rememembering the port address, hence i want to provide simplified url to all hosted customer so that whenever a customer types [url]or [url]he is forwarded to [url]. I have a number of domains hosted and need a global mod_rewrite rule or whatever that can be specified once in my apache httpd.conf file and it should work for all hosted domains on my server.
View Replies!
View Related
Replicating Internal Redirect Behaviour For Redirecting To External Site In Htaccess
I have the following RewriteRule directive in my htaccess file on my localhost:- Code: RewriteRule ^([a-z-]+)/?$ test.aspx/app.nav/params.class.com${meta:$1}/whatever${meta:$1} The rewrite rule works perfectly, since the revised URL is still preserved when after it is executed; I presume this is since my old URL is relative, and it's performing an internal rewrite. However, when I make my old URL absolute (adding an external address to it), whenever I execute my new URL, I'm redirected to the external sites URL (which includes the same URL parameters as my internal 'test.aspx' page), like below:- Code: RewriteRule ^([a-z-]+)/?$ http://www.example.com/test.aspx/app.nav/params.class.com${meta:$1}/whatever${meta:$1} Purely for demo purposes, upon execution, I'd like my new URL to be preserved in the address bar whilst, I'm redirected to the external site. Is this possible to do - something like forcing the behaviour of an internal rewrite? EDIT: I've done some investigating and people with similar problems have suggested using the Passthrough handler - although I'm slightly unclear as to what this does exactly, I gave it a go (adding '[PT]') at the end of RewriteRule, but unfortunately this didn't make any difference. Is mod_proxy a possible solution?
View Replies!
View Related
How Do I Redirect Visitors, Who Type In My IP Address, To My Domain
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 Replies!
View Related
301 Redirect Entire Domain With IIS
I always use Apache and it's easy to redidrect an entire domain in the htaccess. Code: RewriteCond %{HTTP_HOST} ^www.domain1.com$ RewriteRule ^(.*)$ [url]$1 [R=301,L] For a site I'm working on I need to achieve the same thing with IIS but have no idea how to and the technician claims it can't be done. Surely, that's not the case. Any ideas? By the way I want the exact same effect as the above not just a generic redirect that sends everthing to the home page of the new domain.
View Replies!
View Related
DNS / Bind - Easiest Method To Redirect A Domain To Another
I've got two domains (for sake of example, domain A and domain B). Domain A resolves correctly to my web server. Domain B is just sitting collecting dust. I didn't set these domains up, a previous programmer at my job did. How do I configure resolv.conf, named.conf and the zone file(s) correctly to have domain B redirect to domain A? I've already set up httpd.conf so that any requests for the host name of domain A will redirect. e.g. [url]-> [url] I just need the DNS part of this fixed (that I'm a bit of a noob at). Do I have to do something like this in named.conf: Code: zone "domaina.com" { type master; file "/var/named/domaina.com.hosts"; }; zone "domainb.com" { type master; file "/var/named/domaina.com.hosts"; }; Then in the domaina.com.hosts zone file add an alias like this? Code: domainb.com. IN CNAME domaina.com. Or do I need to create a domainb.com.hosts zone file with basic info emulating domaina.com.hosts zone file, and add its entry in named.conf?
View Replies!
View Related
DNS / Bind - Easiest Method To Redirect A Domain To Another
I've got two domains (for sake of example, domain A and domain B). Domain A resolves correctly to my web server. Domain B is just sitting collecting dust. I didn't set these domains up, a previous programmer at my job did. How do I configure resolv.conf, named.conf and the zone file(s) correctly to have domain B redirect to domain A? I've already set up httpd.conf so that any requests for the host name of domain A will redirect. e.g. [url] I just need the DNS part of this fixed (that I'm a bit of a noob at). Do I have to do something like this in named.conf: Code: zone "domaina.com" { type master; file "/var/named/domaina.com.hosts"; }; zone "domainb.com" { type master; file "/var/named/domaina.com.hosts"; }; Then in the domaina.com.hosts zone file add an alias like this? Code: domainb.com. IN CNAME domaina.com. Or do I need to create a domainb.com.hosts zone file with basic info emulating domaina.com.hosts zone file, and add its entry in named.conf?
View Replies!
View Related
Only Domain Reg, Email Forward And Url Redirect Wanted
I need a company to register my domain, and then forward emails and urls to my actual site that is somewhere else. I don't need any actual web hosting or email pop (at the moment). My main requirement is reliability. The company I currently use bounces some email to me and forwards other email to a black hole. They're also not replying to my mail, so it's time to leave. BTW, this is a company that has generally excellent reviews.
View Replies!
View Related
Different Host And Domain Site
I want to buy a domain from Godaddy.com and host on a free webhost, that works really great. But I don't wanna get this problem when you visit the forum ->>> mydomain.com, I want it like this ->>> mydomain.com/forum/ and forum/index.php and all that stuff, so you can visit a thread directly. But in my experiences before, I just got the mydomain.com, even if I visited the forum or an another page. Should I put the DNS or what to get the godaddy domain to work fine with the free webhost?
View Replies!
View Related
Sub-domain Site Stats
I thought i may as well post this here having already contacted my host. Just thought you knowledgable people may be able to give me some insight to this? Well i am creating a sub-domain, and i obviously have site stats with AWStats for my primary domain name. If i was to create a sub-domain say example.sitename.com would i still receive the site stats for the sub as well as the primary one? Anyone had any experience on this? as midphase are good but generally take ages to get back to me and their response are rather general,
View Replies!
View Related
Setting Up A Site In A .local Domain
I have a web server running Server 2003 and IIS6. I can access everything fine via IP. Now I want to have a domain name work with it. The server is in a .local domain environment. Does anyone have any info on how I should setup DNS for the web server if the domain itself is not getting any DNS info from the outside? Is it just a matter of adding new A and NS records or do I need to be in a FQDN domain for it to work?
View Replies!
View Related
Access DirectAdmin Site Without Domain - Possible With CPanel
I'm new to using directadmin and I've got a problem; I've not yet switched the DNS over to the directadmin server 'cause I want to make sure the sites work first, however I can't find how to view the sites. With cpanel you can go to http://192.168.1.1/~username (where 192.168.1.1 = IP of server and username is username of account). is this possible with directadmin? I can't find anything about it, anywhere.
View Replies!
View Related
Htaccess - Moving Site From Subdomain To New Domain
I have what I think is kind of a unique situation with a site move and Google is not turning up an answer that seems to work. My site is currently in this format: www.mydomain.com/site/file.html And I am "moving" it but also switching from html to php, so the same file would be found at: site.mydomain.com/file.php I want to redirect users going to the old pages to their equivalent on the new site, however this is a little bit of a problem because this is a normal subdomain - it is the same directory as before but now there are php versions of the html files. Right now I have all of the http files redirecting to their php equivilents, but I don't believe this is a desirable solution. Also it creates a problem when people go to www.mydomain.com/site (not indicating a specific file; just the subdir root) because I have www.mydomain.com/site/index.html redirecting to www.mydomain.com/site/index.php. Quite a mess. My first option is to put the redirects in the htaccess file on the "old" site. But is this a problem because there are over 500 pages on the site? Does it create a heavy server load because any requests force the server to serve a huge htaccess file? The next alternative seems the most preferable although I'm not sure how to do it. It seems it could use wildcards so that anyone going to *.html gets directed to *.php or something like that. The only problem is that there are a small number of files that were removed completely and do not have php equivilants (about 5 or 6) and would need to redirect to the index.php in the root
View Replies!
View Related
Mystery Mirror/Mirroring My Client's Site Is On Another Domain But Why?
I'm having an issue with a client site and I am not sure what to do at this point. Conversations with the host (GoDaddy) haven't led to a solution and to be honest, I'm not sure it's their issue to handle although I will be firing off an email to their domain dispute department shortly. I spoke with a couple of supervisors there and they were as baffled as I am. Here's the situation: When people Google the name of the client's business, it returns their site but on a different domain. The entire site is there, nothing is changed but the URL. It's like having an unintentional mirror site except that none of the forms work which is what tipped off the users that something was wrong but of course, they don't notice that they're not actually on 'www.clientsite.com' so they think it's just a form error when in actuality, they're not even at the right domain. There is really no way for this other domain to profit from mirroring the client's site; it's just a business profile type of thing with a few forms for contact, employment applications and vendor applications. No secure info is transmitted other than perhaps the occasional email address but we're not talking a heavy volume site, it's a niche market and really not something that would be a typical target. There's no eCommerce, no subscriptions, no financial info. I'm at a total loss. Could this happen if this other site is hosted on the same server as my client's site? Could it be an actual error of some sort or would it have to be intentional? The whois for this bogus site leads to DomainsbyProxy.com and I'll be sending them a letter as well but I'd really appreciate any input you all might have on HOW this could happen. Should I also contact Google?
View Replies!
View Related
Rapid Site Deployment (database Driven Domain Name Server (DNS) + Apache Config)
I am trying to do something that I believe is fairly non-standard. What I am looking to do is create a system where I can rapidly deploy web sites without having to restart named and Apache. For example, if a customer completes a process, I want to be able to turn that site on immediately using a temporary domain (somecompany.example.com or othercompany.example.com). With some programming language (hopefully PHP) I would like to get the customer up and running with their site immediately without having to restart the server. While doing some research I found I could use MyDNS which uses MySQL to manage DNS data instead of configuration files. MyDNS can be updated on the fly. For Apache I have seen wildcard configurations, but everyone seems to be suggesting the use of mod rewrite. I would prefer that the domain maps directly to a specific folder: somecompany.example.com -> /sites/somecompany/htdocs (*.example.com -> /sites/*/htdocs) Does anyone know how I might do this with Apache. It seems similar to user directories (example.com/~username -> /home/*/htdocs)
View Replies!
View Related
CAC/Smartcard User Info Not Accepted, Must Use Domain Usr/pwd Instead For SSL Site
Having an issue with random individuals trying to access an intranet site with a security certificate. Most users are able to simply select their Smartcard/CAC certificate, enter the pin number and then are granted access to the site's pages. However, random individuals enter their pin and then are immediately re-prompted by the IE alert dialogue to enter their domain username and password. If they don't enter their network domain username and MS password, then they receive a 401.1 Unauthorized. I am confused as to why these certain users (who are selecting the same certificates as the successful ones) are being prompted for their domain name/pwd. Furthermore, they're able to access other sites which require a CAC to get past the security certificate. Possible that a user token is unable to be established via a CAC for the particular site, but not sure why. Since these users are getting a 401.1, then somehow their identity associated with their CAC credentials is not validating. In IIS: Anonymous users are not allowed (unchecked). 128-bit encryption is required with SSL. Integrated Windows Authentication is checked. Accepting client certificates In the site's web.config file all users are allowed and only anonymous are denied. Developed in asp.net 3.5 We have tried to reproduce the problem in testing and development environments, but have fortunately/unfortunately been unable to duplicate this issue. This furthermore eludes to an issue that might be isolated to the production server, users access to it, and/or the certificate that is applied to that SSL website on that server. The exact same setup is present on the development box without any issues at all, indicating to me that the problem resides on the production server's ability to properly receive/handle CAC information from those individuals or that something funky is going on with the way the security certificate is relating to the client's CAC x.509 certificate. A little more information that may be of use: the browser prompt that initially asks for the CAC has nothing to do with the code of the site, but rather is enabled by applying the security certificate to a site in IIS; thus indicating to me that there is something written into the certificate that looks for client certificates tied to the ActivClient agent via the browser? The violating users' cards work on all other applications and even on SSL sites on other servers that bring up a CAC prompt. I believe we have confirmed that the certificates associated with their cards and their IE browsers are valid through 2015 (or longer in some cases), and are the same in nature (x509 certificate from the card)... and issuer is being consistently selected as DOD Email CA-15 (though the regular DOD CA-15 works as well). Again, maybe something with the fact that it's isolated to one production server, something with the SSL cert. on that url or user access? Then again, I probably have no idea what i'm talking about, just throwing a bone here to see if anyone has had the same issue or has any ideas.
View Replies!
View Related
Php Path
SSH language, just know the commands that i use often. my hoster, as he said did upgrade 2 days ago, [had an upgrade to apache 2], and some SSH command that i use before this, now don't work for example, i had php script, which i run from ssh [php go.php] which don't work now ... got an error: Code: -bash: php: command not found so my question is how to find php right path ? Code: $ whereis php output: Code: Code: php: /usr/src/php-5.2.0/php5.spec /usr/src/php-5.2.0/php.ini-dist /usr/src/php-5.2.0/php.ini-recommended /usr/src/php-5.2.0/php.gif /usr/local/bin/php /usr/local/lib/php.ini /usr/local/lib/php as i understand, path is /usr/local/lib/php after this try to type Code: /usr/local/lib/php go.php output Code: /usr/local/lib/php: is a directory btw when i type echo $PATH get Code: /usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/MYUSERNAME/bin
View Replies!
View Related
Virtual Path
I'm installing a script that's suppose to act as a payment gateway/store. The script requires the virtual path to the secured directory holding the products and everything I've tried doesn't work! It should be something like /home/username/public_html/secured where username is replaced with my username. I'm hosting with godaddy and have tried just about everything on this page: help.godaddyDOTCOM/article.php?article_id=1360 without any luck. Any ideas or experience with this? I'm on the economy plan with godaddy.
View Replies!
View Related
How To Change DocumentRoot Path?
how to change DocumentRoot path? like from this: /public_html-maindomain) /public_html/domain2 /public_html/domain3 /public_html/domain4 /public_html/domain5 to this: /public_html/maindomain /public_html/domain2 /public_html/domain3 /public_html/domain4 /public_html/domain5
View Replies!
View Related
Cpanel Subdomain Path
I am running Cpanel x 11. Can I create a subdomain like: mysub.mydomain.com and instead of its physical location being at: 'public_html/mysub' Can I change/create its physical location at: 'public_html/inside_dir/yet_another_inside_dir/mysub'
View Replies!
View Related
Finding FTP Path
I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?
View Replies!
View Related
Colocation Close To NJ PATH
build out a backup datacenter to mirror our facilities currently located in Manhattan. Does anyone have any recommendations of a datacenter (preferably a carrier neutral facility) that is within walking distance to the NJ PATH station in New Jersey? We are looking for between 2 and 3 racks with up to four 20 amp power cicuits.
View Replies!
View Related
PATH Shell Variable
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something? # Customize the path directory PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:
View Replies!
View Related
Full Path Email
I am not sure if this is the right area to post this question but I am setting up an autoresponder on my website. To configure it to my site it the instructions say I need to "# Type the full path to your EMail program. # If you're not sure of this, ask your server administrator $mailprog="/usr/sbin/sendmail"; # Type your email address. Make sure # to place a in front of the @ # As an example: admin@autoresponderunlimited.com $fromaddr="admin@autoresponderunlimited.com";" Where would I be able to find this? I have the Linux Deluxe Hosting Plan from godaddy.com
View Replies!
View Related
Change Default Path In Tomcat ?
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection. So please guide me how can i change default page or change default path.
View Replies!
View Related
CentOS - Full Working Path
I just installed a new server with CentOS. Unlike my other installations, it appears that my installation doesn't show up my full working path Other server shows root@root [/home/user/public_html]# My new server shows root@new [public_html]# pwd /home/user/public_html How do I change this enviroment? When I type crontab -e, it uses vi editor instead of nano/pico. How can I use nano or pico editor as default?
View Replies!
View Related
Hosts That Have Clear Upgrade Path
I'm about to launch a site that i think will see a gradual growth in userbase, so i want a host that could scale my site as the it grows. I had earlier chosen crucial web host (esp their split dedicated plan) but i think after a point even that would limit the number of users and resources used per second (and they have no upgrade after that). I would like to hear your suggestions on hosts who have plans from VPS ( i think i'll start from VPS itself and not shared just to be safe) to semi-dedicated or dedicated. The upgrade should be hassle free, that is my main requirement. And also if there is a sudden income of traffic from other sites the host should NOT suspend my account but should charge only for the overages.
View Replies!
View Related
Network Path Flow Monitoring Software
I have been tasked with researching the available options in software that monitor network route paths out from our network that shows latencies and packet loss, etc. We would like real time graphing of current route utilizations so we can notice and make changes on the fly should routes to China see increased latency over a certain backbone (Level(3) or Global Crossing). We need something more in-depth than Netflow as we need to watch our current outgoing paths that our customers are using.
View Replies!
View Related
Path To Code Files On Hosts Server
I have just FTP'd my code files onto my hosts server and i'm not sure whether i need the files in the root of the htdocs folder or whether i can leave them in my folder called website within htdocs...? the structure looks like this atm: htdocs->website->[all of my php files] also... do i need an index.html file or is index.php ok? atm i am getting a 403 error when i try to connect,
View Replies!
View Related
Change Chroot FTP User Path
I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?
View Replies!
View Related
|