I'm looking to create an ASP.NET web forms application which I want to run on a subdomain. I've created many websites before but not into a subdomain.
I am best achieving this with everything in a subfolder and then mapping this to the subdomain?
E.g.
My website (different server) www.my-website.com
Subdomain www.sub.my-website.com
I'll be having a separate server which will run this app and the subdomain will be pointed to the new server with DNS at the host.
Related
Our DNS/webserver was setup so www.mysite.com went to the website, and mysite.com went to the service setup via DNS. This service is used by a wpf application with multiple clients all with different versions. So just changing the service url in the wpf application is not going to work as clients just don't upgrade and some are running on older versions and won't upgrade.
Is there anyway to replicate this in Azure? Since you need to verify the domain by creating a cname, I can't have the same cname point to different addresses. So any ideas on how to do this with Azure?
Would like to keep the service separate from the website.
EDIT: We have hundreds of subdomains, one for each client. So client1.example.com, client2.example.com, www.example.com, etc. And the service example.com. The service url is coded into the legacy wpf application so can't change. The wcf service is currently a app service was well.
www.example.com and example.com are distinct and separate domains. It is perfectly feasible to have example.com point to one Azure site and www.example.com to point to another.
I'm trying to create a site builder which will be a single web application hosted under one site on IIS 8.
It will accept multiple domains (actually it accepts all connections and then use domain names to decide whether it is a hosted customer's website).
Now I'm having concerns here that: because many customers' websites will be eCommerce enabled, so they will be asking for installing SSL for their website -- because now IIS 8 allows "Server Name Indication" on hostname, so literally I can solve this by adding different hostnames onto this single site using my code (C#)
However question here is if I have 100+ customers using the single web application, i.e. this web application will work as if 100+ sites on IIS, how many certificates can I install on the single site? will there be a potential huge problem (security/performance etc.)?
Many thanks!
My goal is to create a service that will allow someone to register their own domain (so, many domains being used), and have that domain point to a specific service/template within a single web application.
Is this possible using URL rewriting or some other method? I want to have a vanity domain that would essentially act as the unique identifier within my application...
So instead of www.myapplicationdomain.com/site/1 and www.myapplicationdomain.com/site/2, i could allow a vanity domain that my application would utilize.
www.customwdomain.com = application/site/1
www.bettercustomwdomain.com = application/site/2
Is this possible, or would i essentially have to dynamically create new websites in IIS and drop files in those folders that the domain would point to? I know IIS can support multiple websites on the same host, but I was trying to take it a step further.
I guess my question is very similar to this question:
IIS with multiple domains on one single web application
Some considerations:
Trying to make this work on Azure shared hosting
I don't want to use sub-domains
I want the vanity domain to always be in use (e.g. not a redirect)
It is possible.
We have an Ecommerce web application that has many web domains being pointed to it, each with their own unique interface. This is entirely dependent on technologies of the Apache software foundation, and I'm not aware of a way to do this without a web server sorting out domains for the application.
We rely on Apache HTTP server for Virtualhost configurations (the listener & configs for each domain), and for serving static content.
We rely on Apache Tomcat for the single Java app that displays most of the interface and functionality. The Apache HTTP server is configured to pass relevant traffic to the Java app.
Configure multiple custom domains to an web-app and then add application gateway at the front of the application. Now based on the application url redirect to the updated url of the website.
I have created a website using asp.net c# for my college library,i have completed it with all their requirements.I know setup files cannot be created for asp.net websites,so,now i need a way to at least create a link for the website,so that they can access the website from anywhere in the college systems and use it.I have tried deploying and publishing nothing is working.I need any other ideas.
Make sure that the web server you're deploying on is publicly (or at least locally within your college network) accessible. If it is, then accessing a particular website is just a matter of sharing its URL with others. You don't need a SETUP for it.
Note that what you see in a browser when you press F5 is most likely an instance of the built-in "ASP.NET Development Server" that is accessible only on the development machine. You need to deploy your site to an instance of IIS (or some other equivalent) to access it from other machines.
There are 2 steps that you need to perform.
Publish the website
Hosting
You can do it either in the IIS of local domain server to be accessible within the network
OR you can purchase a domain and host it on server to be accessible from anywhere.
You can see this on how to host application in IIS 7.
There are two types of deployment
Local
Global
Local Deployment: Download Cassini Web Server , Install it and Configure the WebApp or Website on that. It will give you the Network Url. Use that url to access it from anywhere in your local network.
Global Deployment: Go to Domain and Hosting Provider, purchase domain and link that domain to webspace and hosting that will Support .Net framework. Generally all windows based hosting now a days have IIS. Do not go for LINUX ,as you need MONO there which is generally not available. Upload you publish pages in the root of our virtual directory. In most of the hosts its httpdocs and some where have wwwroot, depending upon the control panels. Access that pages from the domain name.
this website provides all the details step by step!! its awesome it worked for me :)
http://www.programmerfish.com/how-to-deploy-asp-net-web-application-on-the-network-in-windows-7/
i am new in asp.net i dont know to how to combine two asp.net web site into one like domain and subdomain concept.
i know the procedure to host one web application in local iis. Please explain the how to combine two application and how to host in local iis i.e) single url as domain(one web application) and subdomain(another web application).
The url should be like these:
http://localhost/firstapplication/
http://localhost/secondapplication.firstapplication/
Thanks in advance.
I'm not 100% sure I understand your question but I think what you want to do is setup a host header for 2 different applications so that you can access them from the same IIS instance. Here is an article that shows you how to configure the hosts:
Using Host Headers to host multiple websites on IIS 6.0
If you are testing this locally you probably want to make a host file entry to simulate the environment.
If you want it to be localhost/firstapplication and localhost/secondapplication.firstapplication/ then you could create a virtual for each application. Here is how you can do that:
How To Create a Virtual Directory in Internet Information Services (IIS)