?
Solved

dns entry for printers (windows 2008)

Posted on 2010-11-10
15
Medium Priority
?
662 Views
Last Modified: 2012-06-21
AT my last company i could type http://printers and it would bring up a list of printers installed on the server.  Im at a different company now and trying to recreate it.

I liked this method because it was so easy for users to install printers they wanted.  All they have to do is type printers in Internet explorer and then click the printer of choice and connect.  The printer was now install on the users machine.  

I can access the same printer screen by typing as my old company by typing http://servername/printers.  I want to shorten it for my users so all they have to do is type printers in the IE.  How can i acheive this?

My server is windows 2008 sbs.  


0
Comment
Question by:resolver1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 3
15 Comments
 
LVL 5

Expert Comment

by:danubian
ID: 34101051
Create an alias (CNAME) record on your DNS server, named "printers", and pointing to the web server IP. The web server have to redirect it to the right page.
0
 

Author Comment

by:resolver1
ID: 34103178
ive created teh cname.  How do i create the webserver re-direct?
0
 
LVL 9

Expert Comment

by:jrtec
ID: 34107897
Hi,
For what you want Its not just a redirect, but its a functionally of the IIS (Internet Information Services )and the IPP protocol (Internet Printing Protocol).

See the attacehd file. (Its for Windows Server 2003, but it will guide you)
TI0720072.pdf
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 9

Expert Comment

by:jrtec
ID: 34107912
Sorry, disregard my comment, I didn't understand the question. You already have it working just want the DNS "shortcut".
0
 
LVL 9

Assisted Solution

by:jrtec
jrtec earned 2000 total points
ID: 34108078
Maybe you could just create a DNS entry "printers" pointing to the server IP Address and on the print server, on IIS redirect to http://servername/printers or define it as the default web page
0
 
LVL 5

Expert Comment

by:danubian
ID: 34109383
May be the "redirect" term is confusing you. The better term is URL rewrite. You could use this guide to implement URL rewriting: http://learn.iis.net/page.aspx/531/url-rewrite-for-hosting-providers/
You still need CNAME record on your DNS for this purpose, as I already posted above.
 
0
 

Author Comment

by:resolver1
ID: 34110762
jrtec your last solution sounds the best to me, it looks easy to implement.  I cant see any use for the default IIS page.  Next question: How do i change it, i havent used IIS since NT4.

Ive followed my nose and went into IIS and clicked on the default site.  Then right clicked on HTTP redirect and changed the "redirect request to this destination" path http://servername/printers.  No change when i type printers in the address bar of internet explorer.  I still get the default iis default splash screen.  Any ideas?
0
 
LVL 9

Expert Comment

by:jrtec
ID: 34116106
Just to confirm, when you add the IIS role, under Commom HTTP Features there is a feature called HTTP Redirection, was it selected?
Please check, it probably is since you have configured it. Just to be sure.
0
 
LVL 9

Expert Comment

by:jrtec
ID: 34116535
Hi again,
Try redirecting to to to another web site like Gmail (http://www.gmail.com) for testing.
Let me know if it is working.
I was just testing and with me it was not working when redirecting to http://servername/printers, but for http://www.gmail.com it was working.

I tking it does not work because it would redirecting all "sub sites" including http://servername/printers and it would go in loop.
Open the Default web site and see the redirect in all the sub sites and see what i mean.
0
 
LVL 9

Expert Comment

by:jrtec
ID: 34116615
Hi again,
Just figured it out now.
You just need to remove the redirection for the printers sub site.
It works for me.
See attached pictures.
Default-Web-Site.png
Printers-Sub-Site.png
0
 

Author Comment

by:resolver1
ID: 34118588
Sorry no look.

Under Commom HTTP Features there is a feature called HTTP Redirection, was it selected?
-   I dont know where this feature is

Redirect request on the printers site is disabled.  On the default site, i changed it to http://google.com and also http://servername/printers.  Niehter worked.  I just get the default splash screen.  Just to confirm: If i type the http://servername/printers on a workstation, the printers windows appears which i want.  
0
 
LVL 9

Accepted Solution

by:
jrtec earned 2000 total points
ID: 34119315
Thats strange.
Maybe you could try restart IIS.
For that open a command line and type: iisreset
it stops and start again.
Then test with just the server name (http://servername) and also with the the cname you created.

"Under Commom HTTP Features there is a feature called HTTP Redirection, was it selected?
-   I dont know where this feature is "
This is when you add or change the IIS role. You see several sub features of IIS.
0
 

Author Comment

by:resolver1
ID: 34119999
Works a treat now.  Thanks.  I did restart the default web service before but that must be different to restarting IIS via the command prompt.  Thanks for your help.  
0
 

Author Closing Comment

by:resolver1
ID: 34120019
thanks again
0
 
LVL 5

Expert Comment

by:danubian
ID: 34135889
I want to point that the accepted solution is exactly my first post...
0

Featured Post

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question