Alex's Weblog

Weblog di Ermanno Goletto (Codename Alex - A Learning EXperience)
posts - 438, comments - 1461, trackbacks - 4396

My Links

News

Il blog è stato
trasferito al
 seguente link:


DevAdmin Blog

Add my blog to Live

Foto

Curriculum Vitae


Il contenuto di questo blog e di ciascun post viene fornito “così come é”, senza garanzie, e non conferisce alcun diritto. Questo blog riporta il mio personale pensiero che non riflette necessariamente il pensiero del mio datore di lavoro.

Logo Creative Commons Deed


Logo MCTS

Logo MCSA

Logo MCP

Logo Microsoft Certified Business Management Solutions Professional

Microsoft Certified Business Management Solutions Specialist


Logo UGIdotNET UGIdotNET Contributor


Logo UGISS UGISS Contributor


Logo SysAdmin.it SysAdmin.it Staff


Article Categories

Archives

Post Categories

Blogs

Database

Development

Friends

IT

Knowledge Base

Links

MBS

MCP

MVP Sites

User Groups

Virtualization

Configurare IIS e DNS per ospitare più siti

A volte per esigenze di test, ma non solo, può essere necessario configurare su IIS per ospitare più di un sito e quindi diventa necessario impostare il DNS per far sì che risponda ai due domini.

Sommario

Configurazione di IIS

Il primo dominio va configurato come di consueto sul sito web predefinito.

Per il secondo sito si deve aggiungere un nuovo sito web e configurare le Host Headers Name a cui si desidera che IIS risponda per questo sito. Per accedere alle Host Headers Name del sito occorre aprirne proprietà e quindi selezionare Avanzate nel Tab Sito Web quindi aggiungere le Host Headers Name come ad esempio secondosito.it e  www.secondosito.it.

In questo modo IIS risponderà sulla porta TCP 80 per entrambi i siti e discriminerà le chiamate tramite le Host Headers Name.

Configurazione del DNS

Se il server web ospita anche il dominio Active Directory relativo al primo sito il DNS è già configurato e basta aggiungere un record Host (A) per www che punti all'indirizzo IP del server, in questo i client che utilizzeranno questo server come DNS potranno accedere al primo sito tramite le seguenti url: http://primosito.it o http://www.primosito.it.

Se invece il server web non ospita Active Directory occorre installare il servizio DNS e creare una zona primaria per il dominio del primo sito e aggiungere un record Host (A) per www che punti all'indirizzo IP del server.

Analogamente per gestire la risoluzione del secondo sito occorre creare una zona primaria per il dominio e aggiungere un record Host (A) per www che punti all'indirizzo IP del server.

Conclusioni

Questo tipo di configurazione richiede un sistema operativo server in quanto utilizza il serverzio Dns se invece si ha la necessità di avere più siti su un IIS in ambiente Windows XP allora si possono configurare le Host Headers Name del secondo sito su porte TCP diverse dalla 80 accedendo così al sito tramite url del tipo: http://secondosito.it:8080 o http://www.secondosito.it:8080.

Print | posted on mercoledì 26 aprile 2006 16.09 |

Feedback

Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Salve, sono particolarmente interessato all'argomento. Potresti darmi delle dritte su come effettuare la configurazione su windows server 2003? Magari descrivendo l'intero processo in maniera più approfondita....grazie per la disponibilità
08/10/2007 23.58 | Luca
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Posso prendere in considerazione di redarre una guida più approfondita ma non nell'immediato pertanto comincio a darti qualche link in cui approfondire l'argomento:

HOW TO: Use Host Header Names to Configure Multiple Web Sites in Internet Information Services 6.0
http://support.microsoft.com/kb/324287

How To Configure DNS Records for Your Web Site in Windows Server 2003
http://support.microsoft.com/kb/324260

How to use a Hosts file to test a site that uses host headers on an Intranet
http://support.microsoft.com/kb/228760
09/10/2007 10.13 | Alex
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Grazie, info molto utili
10/09/2010 10.02 | Vick
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Buildings are expensive and not everyone is able to buy it. However, business loans was created to support different people in such kind of situations.
29/09/2010 9.08 | JacobsonDina33
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Do you know that you can to determine the superior story connected with custom papers and even about this topic from the reliable writing service. Thus, you have an opportunity to examine it.
13/10/2010 0.01 | pre-written essays
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Оптимизация, продвижение сайтов и раскрутка
31/12/2010 16.15 | Denis23PROHOROV
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Don't purchase not useful things and pay your cash for custom term paper writing service, which can help you to build your career.
08/01/2011 11.26 | order an essay
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

The really hot buy dissertation like this good topic is the thing that some people would like purchase at the paper writing services, hence every time they get the custom thesis or pre written essays.
17/08/2011 16.17 | thesis writing
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

It is very useful to do rss submission site. Moreover, rss submission site will do it for low costs.
22/08/2011 11.31 | rss submission directories
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

602884602884
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

freshwater pearl earrings


wholesale pearl earrings


shell pearl earrings


gemstone earrings


freshwater pearl pendant


wholesale pearl pendant

12/10/2011 10.12 | lewis
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

Choose famous seo package providing services that will provide guarantees about standards of website optimization. Nevertheless, do not opt for optimization firm that provides very cheap prices.
16/01/2012 12.29 | seo packages
Gravatar

# re: Configurare IIS e DNS per ospitare più siti

If you are interested in data about this post, you will run here writing job onlne service and I can tell you, you get all the benefit!
18/01/2012 12.27 | academic writing jobs

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 3 and 2 and type the answer here:

Powered by: