Hot answers tagged

4

On a WordPress site WordPress uses mod_rewrite to handle the URL routing (pretty URLs) - which I assume you are using - so you should avoid using a mod_alias redirect (Redirect, RedirectMatch, etc.) in this instance. (Different modules run at different times, regardless of the order of the directives in the .htaccess file, so you can get unexpected results/...


4

Google is indexing only a portion of your pages because your site doesn't have enough reputation. Splitting your reputation between three subdomains isn't going to help. You will still only be able to get 1M pages indexed. You need to increase the reputation of your site.


2

If the subdomains run all on the same server, then its bad speed-wise. I tried it myself and noticed higher TTFB values when I ran them under webpagetest.org Also, each new subdomain request is like trying to connect to a website. For example, if your main page is at example.com and a user clicks on a link to your product page located at products.example....


2

I want it where in the future, no search engine will ever make a URL request containing any of the subdomains This would seem to be a fruitless task. If a subdomain (or any URL for that matter) has previously been indexed, and particularly if it is still linked to, then it's quite probable that the search engines will continue to have at least the ...


2

You should be able to do this if the DNS Zone Admin for www.somecompany.com adds ourapp.somecompany.com as a subdomain entry pointing to the IP of www.ourapp.com on their DNS server and add ourapp.somecompany.com as a valid domain on your server in IIS. Not knowing about IIS specifics, http://stackoverflow.com/questions/11737065/server-alias-in-iis could be ...


1

In short no. Your TLD records have to be on the same nameserver. The DNS lookup first tries to find your main domain - then gets the records in order to determine what to do with the request. It's only after this it processes the subdomain. You can direct different subdomains to different IPs (servers) but you can't force a client to keep looking at name ...


1

You need to set the ServerAlias in the configuration file. I am guessing you have CPanel. Maybe you can search the docs for ServerAlias. Sorry I don't use CPanel. ServerAlias *.mydomain.com I use this all the time for testing and live hosting. My PHP code handles the sub domain content.



Only top voted, non community-wiki answers of a minimum length are eligible