3
votes
1answer
107 views

301 Redirect a domain to another domain, but keeping the subdirectories the same

Is it possible to configure a top-domain (http://x.com) (DNS/.htaccess/else?) to redirect to another domain (http://y.com), whilst if you navigate http://x.com/subdir/index.html, you'd see the files ...
1
vote
2answers
127 views

DNS created and pointed to new IP, but showing a blank page - do I have to redirect it using .htaccess?

How would I go about configuring my web server to handle a domain that's already configured using DNS to then redirect it to a folder? My friend pointed his domain forum.example.com to my forums at: ...
2
votes
1answer
103 views

Which way to forward alternate domains?

I have a few alternate domains that I want to point to my main domain: Main: awesomewebsite.com Alternates: awesomewebsite.net, awesomewebsite.co, awesomewebsite.me Which is the best way to forward ...
3
votes
2answers
150 views

Redirecting WWW.website.com to website.com

I ranked my site at Nibble.com and i was going through everything, checking for ways to improve my website, and I noticed that www.website.com was classed as a duplicate of website.com. How do I ...
4
votes
1answer
235 views

How to externally host a mobile website?

I've built a cool mobile website/app using JQuery Mobile. I want to offer that to clients, but I want to use my own hosting. Here's what I want to do If a user uses a mobile device to visit ...
0
votes
1answer
84 views

Most efficient way to forward domain.com to example.com/subfolder?

Title says my entire question. I think I saw someone forward domain.com to example.com/subfolder and have spent about a week trying to figure out how to best do this.. My goal is to have user type in ...
1
vote
2answers
4k views

Best practice for adding the www subdomain: Via an A record or htaccess redirect?

Having used both methods in the past I just wandered which method is actually best practice when handling the www subdomain? Do I setup another A record in the DNS to point to the same IP ad the root ...
5
votes
2answers
818 views

302 Redirect causes garbage at end of Wordpress link in Facebook

When I try to link my Wordpress blog to Facebook, the url doesn't resolve properly. There's garbage appended at the end and Facebook is not able to retrieve information from the site. Happens in ...
0
votes
1answer
321 views

subdomain to subdomain forward with masking

I want to forward with mask from one server to another server. In Server One: www.abc.com test.abc.com live.abc.com In Server Two: http://ipaddress.com/folder1 http://ipaddress.com/folder2 ...
5
votes
2answers
987 views

Redirect/rewrite dynamic URL to sub-domain and create DNS for subdomain

I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain. Dynamic URL pattern: http://mydomain.com/mypage.php?user_name=testuser I wish to ...
1
vote
1answer
278 views

How to point two domains to one ip address with a sub-domain

I am a little stuck here I currently have a domain: www.my-site.org & m.my-site.org I want to point m.mainsite.org to m.my-site.org I already have an A record created for m.mainsite.org I need ...
0
votes
1answer
329 views

Adding 1 subdomain using .htaccess

Alright, so unlike other solutions I only want one subdomain to appear to be added. Say I wanted example.com/folder/page.php to be displayed as foo.example.com/folder/page.php, how would I go about ...
2
votes
2answers
7k views

Redirect/Rewrite Subdomain to Subfolder

I'm trying to redirect a subdomain to a subfolder e.g. forums.domain.com to www.domain.com/forums Note that I started the forums in the subfolder format but worried that members might mistakenly try ...