Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a new app server that will run an ftp server and a few other things. It won't run a web server.

I want to put that app server on a subdomain so that I can access it. So ultimately I will be creating an A record to point to the static IP I have setup for that.

But before I do that I want to test out using this subdomain. So I will setup the subdomain to just point to my main site for now (with an A record - as suggested in this post).

What is the best way to redirect my subdomain to my main site? I want to make sure I don't get dinged for duplicate content.

I also noticed that by default ftp is a subdomain provided by GoDaddy. So if you type: http://ftp.mysite.com that goes to my site. Wouldn't Google treat this as a duplicate site?

share|improve this question

closed as too localized by bybe May 24 '13 at 2:25

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
possible duplicate of What are the most commonly used and basic Apache htaccess redirects? –  bybe May 14 '13 at 15:19
    
@bybe it would seem so except it is missing: How can I redirect a sub domain to the main domain? even though it is listed in the question. But still trying to figure out why ftp is fine...or is it? –  Tom May 14 '13 at 15:35
    
Hi @Tom your question was aimed at redirecting a subdomain to the main domain which the principle still applies. But after reading your question it seems the answers on that page wouldn't help. You need to contact GoDaddy and ask why ftp.subdomain.com is resolving to your web hosting, since the subdomain ftp should only work on port 21 and not port:80. So you don't need a redirect you need GoDaddy to turn of the port 80 on that cname. –  bybe May 14 '13 at 17:00
    
Have you added ftp as a subdomain to the hosting? or is only the cname pointing to @... Check in your domains list within the web hosting and also within the domain DNS that it has @. –  bybe May 14 '13 at 17:03
    
It is a cname pointing to @. This is something that was created by default on my domain from GoDaddy. You suggest still calling GoDaddy? –  Tom May 14 '13 at 17:24
show 3 more comments