0
votes
0answers
6 views

Resin: 301 redirect for subdomains

I want to redirect all the subdomains to www.mysite.com, using Resin 4. How can I match every subdomain in mysite.com domain and then do a 301? My idea is to get a redirect for every subdomain, so, ...
0
votes
1answer
44 views

redirect all subdomains from http to https [duplicate]

I redirect all http requests for my subdomain to https by using following code. <VirtualHost *:80> ServerName subdomain.example.com Redirect 302 / https://subdomain.example.com ...
-2
votes
0answers
26 views

DNS Wildcard for non-exist subdomain?

I'm trying to redirect emails from a non exist subdomain (ex: user@nonexist.myexistdomain.com) to my email me@mydomain.com. I have tried this DNS Wildcard i.stack.imgur.com/An9Jc.jpg But ...
1
vote
1answer
17 views

Show website on one server in subfolder on another server

I have two websites. One website is a microsite developed by someone else, hosted on a subdomain and I would like to serve this website via a URL on the second website, for example: ...
0
votes
0answers
22 views

nginx rewrite subdomain to other subdomain

I have a atlassian server with the following config: server { listen 443; server_name servicedesk.example.nl; ssl on; ssl_certificate certs/jira.cer; ssl_certificate_key ...
0
votes
1answer
24 views

Nginx Specific Redirect Rules

I'm trying to read all the suggestions and tips that are present in this forum but I cant find a way to make this rule work. I want that if a specific url is requested that nginx redirect permanently ...
0
votes
1answer
28 views

htaccess parameter to subdomain

I would like to redirect this http://www.domain.com/test.php?sub=subdomain&type=cars redirects to http://subdomain.domain.com/cars I already have mod_rewrite rules to do the opposite: ...
0
votes
0answers
21 views

Redirecting Media Temple domain to GoDaddy subdomain. Creating new IP for subdomain

I am creating an updated splash page for a client that is currently hosted elsewhere (I have started from scratch and it's all ready to go) I would like to direct the current domain (registered and ...
1
vote
1answer
84 views

Accessing domain redirects to subdomain and displays ip instead of hostname in browser

I am trying to set up a domain and some subdomains in a vps. This seems to work correctly when I access through Firefox but on my phone or on Chrome I am redirected to the subdomain. This is the ...
1
vote
0answers
64 views

RewriteCond if folder with parametername exists

I want to make a subdomain-redirect if a folder with the same name as the typed subdomain exists. e.g. I have some folder-structure like www.mysite.de/mainpage/hui.php and want to be able to access it ...
0
votes
0answers
67 views

Nginx: Transparent forwarding SSL + transform subdomain to paths

I have setup a LEMP + Varnish server and so far it's working fine. I also have a simple SSL entry point (a NGinx conf long like 2 lines), whose functionality I need to expand. I am not posting my ...
1
vote
1answer
61 views

How to force a subdomain as a default domain but keep other subdomains working?

I have a WordPress site installed at http://www.example.com and another testing WordPress site at http://test.example.com. I've successfully made http://www.example.com redirect to ...
0
votes
0answers
115 views

Configuring document root and .htaccess for subdomain and domain on same machine

I do have domain www.example.com with document root at /var/www I want to host a subdomain demo.example.com with document root at /var/www/demo I have set the document roots in ...
0
votes
1answer
74 views

Redirect invalid subdomain request to proper location

We've got site at a subdomain (new.example.com) and previous version of the site at the root (example.com). The previous version is a WordPress network with wildcard subdomains. The static subdomain ...
0
votes
1answer
52 views

Nginx proxy by alphabet

I have three VPS servers, each one has its own ip address. The Server One is supposed to be a proxy server, which will be listen for domain.com and *.domain.com. Is it possible to configure that ...
0
votes
1answer
47 views

Htaccess file redirect to certain web page according to requested domain

I will put it as simple as I can. I really need your help, so one of the domains let's say example1.com is set to point to real_domain.com, basically what happens is when you type into your browser ...
0
votes
2answers
191 views

Plesk 11 faulty internal redirection

I've just upgraded a website from Plesk-9 (Ubuntu 8) to Plesk-11 (CentOS 6.3). The Plesk-11 server was created with a specific subdomain "sub.example.com", this also became the default webspace. Then ...
1
vote
1answer
275 views

Is there a way to dynamically forward subdomains in NGINX?

I've done all the googling I can, but no luck. I'm trying to figure out how to create a namespace for a user, say user.mysite.com, and have that redirect to his/her folder (mysite.com/user). Is there ...
0
votes
1answer
75 views

Create and redirect subdomain for a parked domain?

I have a domain parked.com which is parked onto real.com. I have created the subdomain m.parked.com by editing parked.com's named file: m 14400 IN A ip-address www.m 14400 IN A ip-address This ...
1
vote
1answer
34 views

Reversing a mod_rewrite rule

I want to redirect accesses from http://www.domain.com/test.php?sub=subdomain&type=cars to http://subdomain.domain.com/cars I already have mod_rewrite rules to do the opposite: ...
0
votes
1answer
78 views

How to redirect the subdomain of a domain - Blogger [closed]

I have a blogger blog put up, and Google told me to add some A records in order to enable a www-free redirection to the full www domain. So by adding those, visiting bitfalls.com (which is my blog) ...
0
votes
1answer
216 views

IIS8: Redirect subdomain to specific port

I've got a Windows 2012 vServer with IIS8. I've some applications running on it like YouTrack or TeamCity. From extern, I can point at them http://domain.tld:port/[query]. But I don't like that. What ...
0
votes
1answer
289 views

How to redirect subdomain locally on my computer without modifying the code? [closed]

How to redirect subdomain locally on my computer without modifying the code? Let's say, subdomain 'static.company.com' should be redirected to 'localhost/static'. Edit I forgot to mention that I ...
1
vote
1answer
409 views

Redirecting a single request to another pages, ignoring www subdomain

I have a site running on IIS 7.5 that does an automatic redirect from 'http://mysite.com/whatever.aspx' to 'http://www.mysite.com/whatever.aspx' On the site, there is a lot of traffic to an old URL ...
1
vote
1answer
626 views

.htaccess - redirect non www to www and retain subdomains from redirecting

So, on my main domain 'domain.com' I created several subdomains from cPanel, like 'sub1.domain.com' and 'sub2.domain.com'. Their real location on server is in 'domain.com/sub1' and 'domain.com/sub2'. ...
0
votes
1answer
104 views

Apache subdomain redirection failing

I just bought the domain vas.im, I added a DNS rule for vas.im and www.vas.im, then I tried to get apache2 to redirect the latter to the former. I enabled mod_rewrite, appended ...
0
votes
2answers
2k views

How do I Setup Multiple Sites in HostGator Shared Hosting?

I recently decided to consolidate all of my random projects into a single hosting account as it was starting to get very expensive to run each on an individual hosting plan. I purchased the HostGator ...
1
vote
1answer
175 views

Apache redirect subdomain to a specific folder

I need to redirect all the traffic from http://subdomain.domain.com/ to http://subdomain.domain.com/folder/ With 'folder' being a specific folder, of course. I've tried this: RewriteCond ...
0
votes
1answer
525 views

Redirect subdomain virtual host subdomains to path

I used Apache's virtual host for a ton of subdomains for greptweet.com, where each twitter username is a subdomain, like <username>.greptweet.com. Problem is ... subdomains can't have ...
1
vote
4answers
500 views

How to redirect subdomain to alternative server with SSL support?

I'm looking to redirect https://sub.domain.com to https://sub.otherdomain.com without changing the user's address bar. Is this even technically possible? I can imagine some certificate issues? We ...
1
vote
1answer
268 views

Redirecting subdomain from http to external https but avoiding redirect alert

I am using a hosted wiki service which runs over SSL, I have a CNAME redirect from my subdomain to it but browsers show a message saying it is being redirected. Is there a way I can get around this? ...
0
votes
1answer
56 views

subdomain redirection

I'd like to redirect all subdomains *.local to their sub dirs, for example: test.local/ --> /files/test/data/ Here's my vhost file: <VirtualHost *:80> ServerName local ServerAlias ...
0
votes
1answer
108 views

Apache subdomain redirection

Helo, I want to redirect my subdomain to an internal URL. For example when user types in someaddress.com he should see a homepage but when xxx.someaddress.com is typed in I'd like to open ...
1
vote
1answer
114 views

Question about a DNS and subdomain on a different server

I want to know if and how I can do the following: server A is the main server for www.aserver.com server B is a server that gives webservices, and one of the services is for activator (an internal ...
0
votes
2answers
107 views

Merge two different domains but save virtualhost with Apache redirect

I have two domains and one valid subdomain. How can i achieve this? ex-ample.com » example.com www.example.com » example.com en.ex-ample.com » en.example.com en.example.com » en.example.com I'm ...
3
votes
3answers
609 views

Is it ok to not use 'www' in my website subdomain url?

We have a website that is a subdomain of our primary domain, such as site.domain.com. The official URL of the website is http://site.domain.com, but some people keep referring to it as ...
3
votes
3answers
2k views

nginx: redirect subfolder to subdomain

I'm trying to redirect a subfolder to a subdomain in nginx. I want http://example.com/~meow/ to be redirected to http://meow.example.com/. I tried the following: location ~ ^/\~meow/(.*)$ { ...
0
votes
1answer
499 views

Redirect nginx root dir to other url?

i server static file with nginx. what i want to do it, that when someone browses to http://foo.bar.com/ he gets redirected to http://bar.com but when i access the static file itself, it should ...
0
votes
1answer
791 views

How to HTTP Redirect while maintaining subdomain using IIS 7

My question is similar to Redirect subdomain to subdomain on new domain except I'm using IIS 7. The application is ASP.NET framework 2.0. I have a url cust1.olddomain.com and I need to redirect to ...
1
vote
1answer
637 views

Redirecting Subdomain with Volusion and GoDaddy

I need to create a subdomain (reviews.basequipment.com) and have it re-direct to our Reviews page at http://www.resellerratings.com/store/survey/Burkett_Restaurant_Equipment_Supplies. The genius's at ...
0
votes
4answers
2k views

How to redirect http://example.com to http://www.example.com in tomcat

Is there a way using the virtual server tags in the server.xml file in tomcat to redirect anyone who accesses the domain directly (eg : http://example.com) to redirect them to the ...
1
vote
3answers
247 views

subdomain redirects to subfolder

I have created a subdomain for my website (fr.mohamedkadri.com) and after 24 hours it became active but it redirects to the subfolder that I poited to (mohamedkadri.com/fr) Is there a problem? why ...
1
vote
2answers
231 views

Apache: redirect subdomain to new subdomain

I have a single domain. The main application serves from a single subdomain app.domain.com. I need a simple permenant redirect to redirect users that go to app.domain.com to be redirected to ...
0
votes
2answers
978 views

Apache - redirecting subdomain to other port on the same machine

I'm running apache server on my machine and let's say I'm using domain xyz.com. I have a Hudson CI server running on the same machine on it's default port 8080. I'd like to make it accessible by ...
1
vote
2answers
132 views

Redirecting http://support.domane.com to http://support.domain.com

I'm fighting a losing battle over here. I've got an easily misspelled domain name. So I purchased the misspelling. Now, I need to setup the misspelled domain name to redirect everything to the ...
0
votes
1answer
39 views

What's the name of redirecting mysite.com/page to sd.othersite.com + hide sd.othersite.com red

I remember reading this was possible but don't remember the details anymore. When a user visits mysite.com/page I want him to see the content that's showing on some other website's subdomain ...
1
vote
3answers
964 views

Redirect all traffic to specified hosts behind NAT

Is there a possibility to redirect all traffic to specified hosts behind NAT? For example i have a server, a domain "mydomain.com" and 3 hosts behind NAT. I wish to configure 3 subdomains: ...
1
vote
1answer
810 views

Redirect subdomain to subdomain on new domain

I own 2 domains sio-india.org and sio-india.com What i want to do is redirect all the subdomains from 1st domain to 2nd domain. eg. home.sio-india.org to home.sio-india.com but i dont want to ...
3
votes
5answers
239 views

What is the recommended approach to add static subdomains to a website?

I would like to create a few static subdomains like: mycategory.mydomain.com in a rather small website and would like it to point to the folder: mydomain.com/mycategory without showing ...
0
votes
2answers
236 views

Mapping Wordpress.com to subdomain or path

According to this and this, Wordpress.com blogs can be mapped to a custom domain (e.g.: example.com). However, I don't see anything that says it can be mapped to a subdomain (e.g.: blog.example.com) ...