Forwarding subdomain on Google Domains - google-domains

I used to have a subdomain blog.example.net on my Google Domains, and have cancelled it.
How can I create a forward to redirect any visitor of blog.example.net to www.example.net/page-1 ?
I made a few trials based on Google instructions but they failed (I am quite illiterate in that field...). Any suggestion ? Many thanks in advance

Try going to "website" on the left sidebar and then find "forwarding" there

Related

DNS: Unable to forward to 'external' domain

Maybe the title is a bit cryptical, but what I'd like to achieve is: when people end up with a link that ends on .com, it's permanently pointed / redirected to the .nl version. I thought it should be quite simple, but it tackled me completely.
Maybe I'm just overlooking something, so I could use some help from you guys / gals :-)
The first thing that I have to mention is that most of the traffic is pointed to a Lightspeed HQ e-Commerce server, where our webshop is running. Besides that, we have a small (inactive for the moment) blog, which should be accessible through a subdomain. The same for the e-mails and access to the webmail environment.
The main-domain is sceneryworkshop.nl
The 'add-on' domain is sceneryworkshop.com - which should be forwarded to sceneryworkshop.nl.
Our hosting company is using Plesk, that I'm not quite familiar with. Certainly not the DNS-settings page. At first I was searching for a 301 solution, but couldn't find any of such thing. After that I tried tinkering with CNAMES, which didn't resolve many, because of conflicts with the 'Glue record for the domain'
Btw. pointing the .com to the same IP-Address gives more trouble with logging and a legit SSL certificate from Lightspeed HQ.
Anyone who could point me in the right direction based on my given info?
Thank you very much in advance for thinking with me!
If you are able to get the full url in php, and split the url by a ".", and check if and only if "com" is the last string, by writing an if-else statement, and redirect the link if it is true
url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

.htaccess redirects - I am completely lost

I am trying to create some redirects using htaccess but I am quite a bit overwhelmed with it all. So here it goes.
The NEW domain is hosted on my hosting account but there is no site built. I just want to use the domain for "easier" branding. Here is what I am trying to achieve.
I want people who go to my NewDomain.com be redirected to an external site: blog.OldDomain.com/podcast/
I also want to create redirects to upcoming new posts. For example, I want to send people to NewDomain.com/1 and have them redirected to blog.OldDomain.com/episode1. Then NewDomain.com/2 would redirect to blog.OldDomain.com/episode2, etc.
I hope someone can help me with this!
Thanks!
Ok nevermind, I found the solution. Simply created
Redirect 301 /index.html http://olddomain. com/podcast/
and I will add new lines as I create new pages ;)

When I type "www.gstbox.com" it doesn't work but it works fine without "www"

At first my website was hosted on 000webhost.com but then I had some problems with them so I switched for networksolutions.com(paid).
But after a while I realized that when I entered on www.gstbox.com it showed me that the page is not found but if I typed in gstbox.com it works just fine what could possibly be the problem??
Please help
there have been a lot of these questions answered here please use the search box in the top right corner of the page, most can be answered with a rewrite rule. here is the answer to your question. Www and non www sites
Or possibly there might be a firewall and its not allowing the www.gstbox.com to pass,or else maybe your web service is not configured to respond to the same page on www
The problem is that www.gstbox.com is a subdomain of gstbox.com which is simply not listed in gstbox.com's DNS server. You should have some kind of control panel for your domain (if you don't, contact an operator of your service provider) where you are able to change the DNS settings. You should add a www subdomain and configure it to point to the proper IP address (most likely the same as the one gstbox.com points to).
I hope it helps,
Regards

Website A 'redirect' to subdomain of website B, with content of website A

There has been a question made towards me recently to do the following:
We have a website with Drupal running in IIS.
On that site is an URL Redirect to a website hosted externally, obviously with a name completely irrelevant to the name of our company.
The question now is the following;
They want to change to URL to a subdomain of our website. Example: from "www.external-site.com" to "www.sub.internal.com" (while still showing content of the external website)
They want the current page of that website to be reflected in the URL bar. So it wouldn't say "www.sub.internal.com", but it would say "www.sub.internal.com/solutions/page1.html" (instead of "www.external-site.com/solutions/page1.html")
It's possible that I forgot another 'condition' but have mentioned before this.
So, if someone visits through our URL Redirect to External-website, it needs to show our subdomain instead of their domain in the URL, AND it needs to show the current page when people start browsing while still using our subdomain in the URL.
Now, I checked the external-website, and it seems that most of the links available are relative links (if this would be any useful information).
Currently, the external website is hosted externally, and will remain to be so for next few years. (I believe we bought the company)
I have been asking around and looking up, and the best possible thing seems to use domain forwarding, but even then it still doesn't seem to comply with the entirety that they asked of me.
I am but a 'simple' .NET programmer, held responsible to do support for anything involving the websites, and I can't say I have extended knowledge about infrastructure. (But I can ask people to do this for me)
Is there anything that could solve this?
Thanks so much!
IIS's URL rewite and Application Request Routing (ARR) combo can help you what you want to achive. Here are few links which may guide you to configure ARR. Please note that these links dont exibit exact solution to your problem however you can take clue from it and fabricate your solution accordingly.
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-rule-template
It sounds like you'll want to use a full-page iframe: do not redirect but show a page with an "inner page" instead: that inner page is the external web site. That way, users do not see the external site in their URL bar.
http://webdesign.about.com/od/iframes/a/aaiframe.htm
You need to configure the equivalent of Apache Virtual Host with Reverse Proxy on IIS.
See this answers:
https://serverfault.com/a/271030
and
https://stackoverflow.com/a/10003306/2131693

How can I redirect a website from domain.com/blog to blog.domain.com?

I have a website with a wordpress blog. This blog can be accessed from domain.com/blog.
Now I want to make a redirect (via htacces) from domain.com/blog to blog.domain.com;
how can I do it?
In internet I found the opposite problem :\
Thanks!
go into your cpanel (the webserver) just find "redirect domain" there .
open that and add the desired domain against to your current domain address..
and thats all

Resources