I want to point a domain name newdomainname.com from a domain service provider (Hostinger) to a subfolder and/or subdomain on my existing website eg.
existingwebsite.com/subfolder
so when I access newdomainname.com it will direct to that subfolder while showing newdomainname.com on the address bar. How can I achieve this?
Also if it can be done with subdomain I would also like to know how. eg: pointing newdomainname.com to:
subdomain.existingwebsite.com
Related
My client recently purchased a new domain name and wants it to link to an interior page on the current website. Both domains are registered on the same account. The main site is currently hosted on a Media Temple Grid account and I see no option for "forwarding." There is an option to "Point the domain to another server." Not sure if this is more of a DNS record change or an .htaccess redirect?
The main website is: fairmountstrings.com
The new domain name that needs routing is: fairmountstringquartet.org
The interior page that I'm trying to route to is: fairmountstrings.com/concerts/fairmount-string-quartet/
I selected "Point the domain to another server" which made the DNS for fairmountstringquartet.org the same as the main website. I then tried multiple different redirects in the .htaccess file that's on the root of the server but nothing seems to be working.
I'm trying to redirect multiple domain names to their corresponding landing pages on my website using name servers, but don't know where to start.
Example:
I have two domain names 1)ABC.com 2)123.com. I want to set the name servers of each domain to forward them to the landing page on my website, so ABC.com would redirect to MyWebsite.com/abc and 123.com would redirect to MyWebsite.com/123.
Any help as to where I could a general direction to make this happen?
DNS is solely responsible for the name 123.com to address 12.34.56.78 mapping. It has no concept of anything that happens beyond that. Via DNS you would need to point both names to the address of the web server.
Then on the web server, configure a site at abc.com and 123.com, with each site being redirected the appropriate place.
This way, the HTTP software will detect which domain name is requested and redirect it as required.
You basically need to follow the link shared in comments, but do that for each domain. - How do I redirect a domain to a specific "landing page"?
I have a domain aaa.com
I have a hosting with another domain bbb.com
When user enter at aaa.com I need to show him the site that located at subdomain.bbb.com
How can I do that?
Thanks
Do you want to display aaa.com in the address bar? Then create a CNAME record aaa.com pointing to subdomain.bbb.com in your DNS settings for aaa.com. Otherwise, create an URL redirect record similarly.
I have an Azure Websites URL at http://mysite.azurewebsites.net. Attempting to browse to http://www.[mysite].azurewebsites.net/ results in a DNS lookup failure, with the error code in Chrome of "ERR_NAME_NOT_RESOLVED"
I've attempted to add www.[mysite].azurewebsites.net in "Manage custom domains", but receive the message "The host name www.[mysite].azurewebsites.net is invalid."
Note that I don't have a custom domain and I'm happy to use the .azurewebsites.net URL, I simply would like the users who add "www." to the URL they've been given to resolve to the correct URL.
Is this possible with Azure Websites without requiring a custom domain?
The menu from your screenshot can be used to configure any domain, you own, to point to your azurewebsite, this is not what you want.
Your "website" is a subdomain (level 3) of domain azurewebsites.net, where "azurewebsites" is a level 2 domain and "net" is the TLD. "www" is a subdoamin and normally used as (level 3) subdomain in ealier days to point out, that you are using the World Wide Web. This is not necessary and it does not make sense to create a level 4 subdomain "www". I don't even think, level 4 subdomains are supported by azure anyway.
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.