I have a website on an Azure app service and we are going to go live soon.
I've followed what has been suggested so I've created a CName to my Azure sub-domain. How can I make sure that google will not index my site as xxx.azurewebsites.net instead of xxx.com ?
Right now I have IP restrictions available, so google cannot see my website and index it, but when we go live both xxx.com and xxx.azurewebsites.net will be open to public. Right?
Add permanent redirects (301) in the app.
So if someone accesses a page e.g. aaa.azurewebsites.net/Something, redirect them to aaa.com/Something with a 301 redirect.
It was the first that came to my mind, but Google has more guidance on canonical URLs here: https://support.google.com/webmasters/answer/139066?hl=en
Best you can do is add a robot.txt file for google and other robots that try to index your site.
Robots_exclusion_standard
The host directive can have the preferred domainname:
Host: example.com
Related
How is whatsapp website web.whatsapp.com and not www.whatsapp.com.
How can we register a website domain starting with 'web.'
If you own a domain, you can add any subdomains you want to it. It can generally be configured in server settings. If you use a hosting provider, they should have an option to add a subdomain too.
Oh, and the "web" is not exactly a replacement of "www". While "www.example.com" and "example.com" point to the same resource, "subdomain.example.com" will point elsewhere unless you set it to redirect.
I have registered my domain name example: zoek.com in Google domains forwarding it to google sites sites.google.com/view/zoek/home.
Now, whenever users are visiting zoek.com, the URL in the browser is redirecting to sites.google.com/view/zoek/home. Instead, I want to retain on zoek.com
I added CNAME record as per instructions, still no luck
I don't have GSUITE. I want to do it without GSUITE. Is it possible?
IF I have to buy GSUITE then what's the cost of it yearly?
Thanks in Advance!
I have a website and a mobile website (the mobile website is a subdomain where the files are in a subfolder). I have used an htaccess file to redirect mobile users to the mobile site where they can also go back to the full site. This worked great until I added a second website within a subfolder so I would only have one hosting account. Because my htaccess file is in the root folder of the main site, mobile users are redirected to the mobile version of the first site before they ever even reach the second site. Is there a better way to do this or do I need to just purchase two hosting accounts?
I don't have a mobile version of the second site yet, but would like one in the future. I use godaddy to host the sites.
Work around I found was to take the same htaccess file and put it in each domain root folder then edit it to redirect to itself. It works for me. But I agree, all of the htaccess rewrites that I have seen all have the same effect......redirecting to the first mobile site. I wish someone could solve this.
I just purchased a domain for my blogger blog through google(goDaddy)
Currently, it is pointed to blogger web host.
I'd like to point it to my own web host as well, so i can host files, while not losing my blog stuffs from blogger.
Is this possible? for a domain to have 2 web host?
I'm sorry, i'm really new to these domain and hosting, any help would be appreciated. Thanks!
You can keep your domain on your site and then setup a subdomain-- like blog.YOURDOMAIN.COM-- and point that to your blogger account.
Go to http://www.google.com/a/domainname, replacing domainname with your domain name.
Now you will need to login to your Google account utilizing a username and password you previously created specifically for Google Apps for your domain. If you do not know this information, click 'Can't access your account.'
Once logged in, click the 'Domain Settings' tab.
Click on "Advanced DNS Settings".
You will now see listed your Sign-In Name, Password, and PIN.
Click Sign-In to DNS Console and use the Sign-In Name and Password to login.
You should now be in the Domain Control Center. Click Forward, and then select Forward Subdomain.
In the Add subdomain field, enter the subdomain.
Select http:// or https:// depending on your server settings.
In Forward this subdomain to, enter the URL you want to forward the subdomain to. This will be the URL for your Blogger blog.
To view additional options, click Advanced Options, and then select one of the following:
Forward Only — Specifies the length of time for this forwarding setting. Select one of the following redirect types:
I am permanently forwarding my domain — 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) the location has permanently moved.
I am only temporarily forwarding my domain — 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.
Forward with Masking
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 describe the content and purpose of your website.
Click OK.
The main domain you just continue to point to the IP of your web host.
we have a saas web app, written in zend mvc (php) where users can enter their own domain name in their settings page.
When they enter e.g. www.customdomain.com we want this domain to redirect to our web application so we can serve up their own pages from our app.
We do the same already for subdomains by having a *.ourapp.com entry in our DNS configuration.
that works great for subdomains like customdomain.ourapp.com.
This doesn't seem to work for full domain names like www.customdomain.com.
What's the easiest way to have any domain address link to our application, so we can just read out the incoming domain name and act accordingly in our app?
For letting the DNS entry point at your servers:
Domain is already registered (and owned by the customer): Make him configure the CNAME entry to your server's IP. (Even google let this do the enduser by hand - so automating this might be hard)
Domain is free: Register it, configure the CNAME yourself (you own it)
If you only want a redirect, the user can upload a html file or .htaccess file, that performs the redirect. But this has to be done by the customer, too.