Afficher un message
Vieux 19/07/2006, 04h36   #2
Ace Fekay [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache virtual host on a private machine

In news:zFYug.68901$Lm5.34971@newssvr12.news.prodigy. com,
sweet_cheex <sweet_cheeks_sf_nofriedspam42@pacbell.net> stated, which I
commented on below:
> Hi. I am running an apache web server on my windows xp machine, just
> for development purposes. My computer does not serve pages over the
> internet.
> The machine is running Windows xp professional behind a router with a
> static IP address. I also have a domain name and the DNS is run from
> another publicly accessible machine on my network.
>
> I would just like to run some virtual hosts on my local machine for
> development purposes. I am not interested in anyone accessing these
> servers from the public, at all.
>
> I have been reading a lot about Windows loopback, ip aliases, and
> such. The apache site tells how to set up IP-based virtual hosts, but
> I am not sure how to set up additional IPs on this computer. can
> anyone supply a simple answer or more good references I can add to my
> collection?
> Thanks again.


Additional IPs can be set in IP properties, Advanced, IP Settings tab.

This is more of an IIS question. Posting to the IIS group could have been
more specific for your question, but I can give you a basic view of it.
Apache and IIS are very similar in what they do and how they work. They are
simply sharing tools to allow sharing resources or apps across a
intranet/internet. You can set multiple virtual websites on one IP, which
wouldn't require multiple IPs. IIS and Apache uses the host header (the
actual URL you connect by) as the uniqueness factor to distinguish each
individual webstite. The only time I would see to have individual IPs per
site is if each site is SSL based. SSL uses the IP address as a uniqueness
factor beyond hostheaders.

I usually do not like to use aliases in DNS. I normally like to use the
direct name to IP reference, especially if host headers are involved. It's a
cleaner setup besides the fact an alias requires addition query steps and
can cause confusion in some cases. Loopbacks are fine, but you can simply
use a straight IP mapped to a name under the zone.

There are many resources for IIS. One of which is www.iisanswers.com. As for
Apache, you can Google for it. Here are some additional reading. Disregard
the OS version, since many steps are similar except for additional features
and apps/.Net configuration in IIS 6 on 2003. But since you're using Apache,
it wouldn't really matter anyway. Keep in mind, IIS runs native .Net, ASP,
ASPX, ISAPI and COM packages more efficiently and securely (especially for
the operating system) than can Apache using other programming languages.
Reason is the app is run within the IIS context (in the actual inetinfo.exe
process) and not the operating system, as you would need to do using CGI,
PHP, etc. IIS runs CGI, PHP and others too, but they must be run in the OS
context.

190008 - HOW TO- Use Host Header Names to Host Multiple Sites from One IP
Address in IIS 5.0:
http://support.microsoft.com/default...b;en-us;190008

315982 - HOW TO Configure DNS Records for Your Web Site in Windows 2000:
http://support.microsoft.com/?id=315982

IIS Answers - How to create multiple websites with one IP address:
http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm

187504 - HTTP 1.1 Host Headers Are Not Supported When You Use SSL:
http://support.microsoft.com/default...b;en-us;187504

What Is a Host Header:
http://www.winnetmag.com/Article/Art...7404/7404.html

324260 - HOW TO Configure DNS Records for Your Web Site in Windows Server
2003:
http://support.microsoft.com/?id=324260

IIS Answers - DNS for IIS Administrators:
http://www.iisanswers.com/articles/dns_for_iis.htm

Web Naming and Addressing Overview (URIs, URLs, ...):
http://www.w3.org/Addressing/

Mapping URLs to Filesystem Locations - Apache HTTP Server:
http://httpd.apache.org/docs/urlmapping.html

ITS Web Services Setting up a Redirect Announcement:
http://www.its.caltech.edu/its/servi...redirect.shtml

Redirecting Your Home Page:
http://www.art.net//redirecting.html

Hotlinking - Steps you can take to Prevent it.:
http://websiteowner.info/articles/pages/hotlinking.asp

I hope they .

--
Ace
Innovative IT Concepts, Inc
Willow Grove, PA

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Directory Services
Microsoft Certified Trainer

Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
to easily find, track threads, cross-post, sort by date, poster's name,
watched threads or subject.
It's easy:

How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164

Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."

The only constant in life is change...




  Réponse avec citation
 
Page generated in 0,07248 seconds with 9 queries