developer here... I'd like your IT perspective on this one...
I'm building a new internal web app for my company, and starting to think about how it will be deployed. Many of the existing web apps here are linked-to using their server names directly, like this:
http://webserver123/someInternalApp/
This makes me uncomfortable for a variety of reasons. Server names change, servers go down, and users shouldn't have to know server names to find their web application. Using server names prevents us from swapping servers or adding load balancers. If you can think of other reasons this is bad, let me know so I can make a better case for changing this practice.
Going forward, I'd like to have some better domain names set up in our internal DNS that will point back to the appropriate web server & app. In my last job, we followed a convention something like this:
- For Production:
http://someInternalApp.myCompany.com/
- For Test:
http://test.someInternalApp.myCompany.com/
- For Development:
http://dev.someInternalApp.myCompany.com/
I like this better, as the application name is a key part of the domain name, and the dev/test/prod environment designation is simple. However, I have some reservations:
- Putting the app name in the subdomain will eventually create a lot of long, unique subdomains. I like having different domains for each app, but I also feel it could get difficult to manage.
- Other than the app name, there is nothing to designate that this URL is internal only. I've read about other organizations using a subdomain like "corp.myCompany.com" or "int.myCompany.com" which could be good. I don't want users to get the impression they can access these from home.
Here are some options on what I'm leaning toward for internal domain names:
App name in the internal subdomain: (they get a bit long, but everything is packaged together well I think)
http://someInternalApp.corp.myCompany.com/
http://dev.someInternalApp.corp.myCompany.com/
App name as a subdirectory: (shorter domain name, but it implies all the apps are part of one unified site, which they may not be, and it disconnects the environment designation from the app)
http://corp.myCompany.com/someInternalApp
http://dev.corp.myCompany.com/someInternalApp
So, let's discuss... What do think about these options? Is there something better or more common I may have missed? I have the opportunity to set my company on a better path in this regard, so I'd like to find a good convention to recommend.
Thanks!