Redirect my domain - cross-domain

I need to redirect my domain from MyHosting to Godaddy. Currently my client website is maintain in MyHosting , now they need to change their website to Godaddy. Could you please help me to redirect the domain.
Sorry my English is bad.
Thanks in advance

Please use this Link to redirect from one domain to another ......
enter link description here
To Forward or Mask Your Domain Name
Log in to your Account Manager.
Next to Domains, click Manage.
Select the domain names you want to forward.
You cannot forward or mask .tk, .dk or .ch domain names.
Click Forward, and then select Forwarding Domains.
Click Add Forwarding.
Select http:// or https:// as your Forward to option. For more information, see HTTP vs. HTTPS.
Enter the URL you want to forward your domain name to.
Select your Redirect type
301 (Permanent) — Redirects to the site you specified in the Forward To field using a "301 Moved Permanently" HTTP response. The HTTP 301 response code tells user-agents (including search engines) that the location has permanently moved.
302 (Temporary) — Redirects to the site you specified in the Forward To field using a "302 Found" HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
Select your Forward settings
Forward only — Forwards the domain without masking.
Forward with Masking — Prevents the forwarded domain name URL from displaying in the browser's address bar, and lets you enter Meta Tags for search engine crawlers in the following fields:
Title — Displays at the top of the browser window and in search results.
Description — A short description of your website to display in search engine results.
Keyword — A list of comma-separated keywords that describes the content and purpose of your website.
Masking is incompatible with some sites that use https://, i.e. SSL certificates.
To automatically update your nameservers to accommodate your forwarding changes, check Update my DNS setting to support this change.
Click Add, and then click Save.
To Forward Your Domain Name Without Masking
Log in to your Account Manager.
Next to Domains, click Manage.
Select the domain names you want to forward.
Next to Forwarding, click Manage.
Click Update Forwarding.
Select Forward Only from the Forward Settings menu.
Click Edit.
NOTE: Forwarded domain names can take up to 24-48 hours to activate.
To Remove Masking From Your Domain Name
Log in to your Account Manager.
Next to Domains, click Manage.
Select the domain names to modify.
Click Forward, and then select Forwarding Domains.
Click Update Forwarding.
From the Forward settings pull down menu select the option for Forward Only.
Click Edit.
Click Save.

Related

Google Domain settings

I've bought domain on Google Domains. Also I have server, and my website is on 4000 port, link looks like
http://1.1.1.1:4000/
I need to set domaint to link look like
http://example.com/
How can I do it in Google Domains. It my first experience in setting domain, so I'm bad at this thing
UPD:
Or how to create miiror for http://1.1.1.1:4000 with link http://example.com/
Or how to meke link look like http://example.com/ on my site
Sign in to Google Domains.
Click the domain name.
Open the menu Menu, if applicable.
Click Website .
Under 'Forward to an existing webpage', click; Add a forwarding address.
Enter a URL or IP address in the Website URL field. For you this would be the IP address of your server
I would highly recommend leaving your website port on 80 or 443 dependant on your preference to HTTP or HTTPS. other wise you will have to always enter www.whatever.com:4000 instead of www.whatever.com. The second one is a lot more public friendly

DNS records to redirect everything to another domain

I have several domains:
example.co
example.io
example.com
I want to redirect everything from .co and .io to their counterparts in .com, which means:
sub.example.co => sub.example.com
api.example.io => api.example.com
example.co => example.com
...
I've heard about DNAME records, but cloudflare do not support them.
If you just mean normal url forwarding, according to this link, you just have to:
Log into your Cloudflare account.
Click the appropriate Cloudflare account for the domain where you want to add URL forwarding.
Click the Page Rules app.
Under Page Rules, click Create Page Rule. The Create Page Rule for dialog opens.
Under If the URL matches, enter the URL or URL pattern that should match the rule. Learn more about wildcard matching.
Next, click Add a Setting.
Choose Forwarding URL from the drop down menu.
Click Select Status Code and choose 301 (Permanent Redirect) or 302 (Temporary Redirect).
Enter the destination URL.
To finish, click Save and Deploy.
Hope I could help, if not, the page contains some other interesting solutions under the Advanced Forwarding Options, such as using variables.
Page Rules are great and will help to route the traffic as you want. There is a good tutorial with examples here, https://community.cloudflare.com/t/using-page-rules-to-perform-redirects/55386. In particular, the section about using variables will be particularly useful for what you want to accomplish.
If you have questions are you work through the rules, let us know at the Cloudflare Community, Community Tip - Welcome stackoverflow Visitors, https://community.cloudflare.com/t/community-tip-welcome-stackoverflow-visitors/99529
+1 to "Page Rules works with both HTTP and HTTPS" from Faiz! That is correct. This statement is not accurate -> "unfortunately page rules only works with http".

How can I forward a subdomain to another domain but follow all pages

I need to setup a sub domain to point to a certain part of another website, for example
Swindon.ukontheweb.co.uk to point to - http://ukontheweb.co.uk/location/england/wiltshire/swindon/
But I need the sub domain to follow all links not just a forwarding, so when you click a link on the Page it will show like this - Swindon.UKontheWeb.co.uk/ all pages of site
Baisically need the Subdomain to forward to new sites page but Subdomain to remain in Browser and follow links so Swindon.ukontheweb.co.uk/ anypage of new site.
I am new to this so I hope someone can help
You must have already created A record for subdomain in domain panel.
In your hosting panel, you simply have to point document root for your subdomain to the directry you mentioned.
It will not be forwarding but be working like you require.

How to redirect example.mydomain.com to folder.mydomain.com via DNS/.htaccess?

Is it somehow possible to redirect example.mydomain.com, a subdomain which does not actually exist, to folder.mydomain.com using either .htaccess or DNS? How can this be achieved?
When I access DNS from the control panel and click on the Web DNS tab, I see Personal web DNS settings, under which I believe I can submit domains and their values. However, I am confused with the type (web alias, web forward, A, CNAME, TXT, SRV, AAAA...). Could someone help me?
If the .htaccess way is simpler, I would then prefer it.
Thank you.
You wouldn't be able to use .htaccess as the subdomain does not exist.
I assume, from the process you described, that you are using One.com hosting. If so, the following guide will be of help:
Manage your DNS settings
Essentially, a web forward DNS entry will work for you:
Click on the Web DNS tab.
In the hostname/domain column, enter the subdomain you would like to redirect.
Set the type to web forward
Set the value to where you would like to be redirected when visiting the subdomain.
Click the (+) sign to save your changes.
It will take up to 90 minutes for your changes to take effect.

Redirecting a domain using IIS

I am currently having two domains www.xyz.com and www.pqr.com. If anybody enters xyz.com I need to bringout the website pqr.com
Both are on the same server.
Kindly suggest how to go about this.
Thanks
In internet services manager, right
click on the file or folder you wish
to redirect then select "Properties"
Select the radio titled "a redirection to a URL".
Enter the redirection page
Check "The exact url entered above" and the "A permanent redirection for this resource"
Click on 'Apply'
From http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true
To redirect requests to another Web
site or directory
In IIS Manager, expand the local computer, right-click the Web site or
directory you want to redirect, and
click Properties.
Click the Home Directory, Virtual Directory, or Directory tab.
Under The content for this source should come from, click A redirection
to a URL.
In the Redirect to box, type the URL of the destination directory or
Web site.
If you want to say that "you should always go to foo instead of bar," you want a 301 redirect (which you do with your front-end server). See http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=93633
A 302 (temporary) redirect should be used in cases where you can't serve a page, but expect it to come back later. Unfortunately, it's the redirect that you get from JSP forward.
A client-side (meta refresh or javascript) redirect should be avoided whenever possible.
Apache docs for configuring a permanent (or temporary) redirect.
If you want pqr.com to appear in the user's browser's address bar, you'll have to send a 301/302 redirect response, either through a script or through your web server's configuration - how to do this depends on what software you are using.
If you are using IIS7 and you have installed URL Rewrite Module then use this article for more information : IIS URL Rewrite – Redirect multiple domain names to one

Resources