About 2 years ago I used a temporary domain when developing my website, later on, I created an alias server using the official domain. Now I realize this has been a bad practice because when I search something on google, results from the temporary URL and the official URL both show up.
I have deleted the A record for the temporary URL and create a CNAME record to point it to the official URL. But about 1 month has passed and the problem persists.
Is there a way to tell Google the temporary URL shoudn’t appear search result at all and eliminate it from the search result instantly?
I’ve been trying to use Search Console. The problem is, my official domain ( cchc-herald.org ) has SSL installed, while the temporary domain (cchc.nycweb.io) has no SSL installed.
1 month is nothing for google search, you can wait for months for google to change results…
anyway, there’s an exclusion tool in search console, add the alias domain there to exclude it from results… (and wait for months till google decides to implement it).
That. Google flat out does not care. They will get to it whenever they feel like getting to it. Your old site search results could show up for years to come. Then again, they may vanish next week.
That is why you never, ever do anything at all “temporary” with Google. They move at a very unexpected, sometimes glacial pace. If you don’t intend it to be permanent, leave it off of Goggle altogether.