Is this managed through the htaccess file?
one domain + webspace at provider 1.
one domain at provider 2.
how to point the domain from provider 2 to a subfolder from the FTP of webspace from provider 1?
I think the question is simple but it seems like I can not find the correct sentences to ask google...
Related
I currently have an Azure domain with a website, the domain has the name aaa-aaa.azurewebsites.net
I need to create a subdomain of the style login.aaa-aaa-aaa.azurewebsites.net, which at first will point to aaa-aaa.azurewebsites.net but later I want it to point to a different domain.
I have tried to create the subdomain through the Azure console, entering App Service and then Custom Domains but I get the error:
"Domain ownership
To verify domain ownership create CNAME and TXT record with your DNS provider using the configuration below, and replace {subdomain} with value of subdomain".
I have been reviewing documentation on the internet and in the DNS zone section I have created a new zone and I have introduced the information that appears in the Custom Domains section as the guide says: https://rmiravalles.com/2020/08/05/creating-dns-records-for-a-web-app/
** What should I do to create this subdomain and its corresponding CNAME in Azure?
** Is it necessary to have a domain of the style aaa.com or could it be done with the one I currently have aaa-aaa.azurewebsites.net?
Thank you very much
[1]: Error creating subdomain: https://i.stack.imgur.com/BQ9Iz.png
[2]: DNSZone configuration: https://i.stack.imgur.com/fanN3.png
You do not own 'azurewebsites.net' (microsoft does) and therefor you can not create subdomains for that domain (others than the ones Microsoft has given to you). You should get your own domain first, than you can create dubdomains in your dns-server
Can I know is it possible to have multiple sites under the same hosting account.
public_html/ - Access this via www.example-site.com
public_html/site1 - Access this via www.example-site1.com
public_html/site2 - Access this via www.example-site2.com
As you can see here, I have purchased three domain names. Now I need to link them into relative folders using Nameserves.
Can I have three different name servers from the same hosting account based on the folders?
How can I set Nameserves to match the correct folder?
(I'm using one HostSG VPS account and 3 goDaddy domain names)
Thanks for the support!
You have to add your new site as an Addon-Domain From the cpanel. You don't have to create Name Servers to every single site. You Can Point Existing Name Server with all your sites.
Please follow the below link. It will explain in detail how to add an Addon Domain
Managing Multiple Domains from a Single Hosting Account
There is an option on your cpanel to addons New Domains, once the domain is registered, when you add it, it will automatically create a folder for you with some configuration.
I have parked my website domain with a provider (XYZ). I have hosted the site at a separate host provider (Friend of mine - server). I need to create a sub domain for my website now ? When I checked the domain providers site the option is not available. How do i create a sub domain now ? Should I check with the hosting provider of the site ?
Thanks in Advance!
You need to unpark the domain first.
You can either point the domain at your friends server too or tell the system your provider uses to offload it's DNS responsibilities for your domain to your friends DNS provider (this is not a transfer, it simply says that any DNS queries for your domain are handled elsewhere).
You cannot do anything with a parked domain.
I have a domain, abc.com hosted by xyz hosting. I'm using a CNAME to point the subdomain, games.abc.com to my Azure website, website.azurewebsites.net. Everything at this point is working fine.
In the above scenario. how do I direct a subdomain to a specific folder of an Azure website? For example, stapler.abc.com should point to website.azurewebsites.net/someFolder.
Thanks!
As far As I know this is not possible with a CNAME record as you can only point to a record.
However Azure does offer a $root container which you can use.
See the azure documentation about the root container
A downside to this is that you can't have any names with a '/' in the $root container meaning that if you did want to model a hierarchical approach you would have to make every folder in the root its own container (kind of a pain but do able).
Another downside is that azure doesn't provide a default blob for a container (as far as i know).
Meaning you can't direct somebody to blob.azurewebsites.net/someFolder but to a particular file blob.azurewebsites.net/someFile
Sorry for the completely newbie question, but I really do not seem to understand how this would be done.
Can you automate the creation of sub-domains for a multi-tenant application that is hosted? Say for example a new customer signs up and specifies the sub-domain of choice. user1.mysite.com.
How do I automate the creation of the sub-domain and have it point to the single instance of my application? If yes, how do you go about doing this? Any samples or links would be most appreciated.
Thank You
You don't create subdomains, you create a wildcard DNS record.
*.mysite.com A 1.2.3.4
If you have owned the domain, you can create a subdomain manually in the configpage of your domain provider. The provider will have to config the subdomain for you(input subdomain and IP mapping into DNS Server). This could delay for some hours.
After that, you can create another mapping between your documentroot(where you application lives) and subdomain with . see more details here.