logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Change Default (IP address) to a unique website name
Author
davidapache



Joined: 08 Aug 2015
Posts: 25
Location: usa, detroit

PostPosted: Mon 07 Sep '15 15:58    Post subject: Change Default (IP address) to a unique website name Reply with quote

Hello Admin

I am wondering if web site name based on apache webserver of my computer could be changed to a unique name (for example, http or https://www.davidapache.com) instead of computer IP address.

How to make two website or multiple websites from one IP address of computer.

Thanks,
Davidapache
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Sep '15 11:09    Post subject: Reply with quote

You can use virtual hosts (vhosts) in apache. For sure a DNS server needs to point the name to the IP adress. If it is just localy you can use the hosts file.
Back to top
davidapache



Joined: 08 Aug 2015
Posts: 25
Location: usa, detroit

PostPosted: Sat 12 Sep '15 2:08    Post subject: Reply with quote

Hello James

Regarding on virtual host in the apache, please provide more detail how to configure vhosts.

The way that I understand is that vhosts is stil local. Am I correct?

Secondly, is it possible to make multipe website using one IP address?

Thanks,
Davidapache
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 15 Sep '15 16:03    Post subject: Reply with quote

There are some examples on http://httpd.apache.org/docs/2.4/vhosts/examples.html

if you still have a question please ask again.
Back to top
davidapache



Joined: 08 Aug 2015
Posts: 25
Location: usa, detroit

PostPosted: Wed 16 Sep '15 18:32    Post subject: Reply with quote

Hello James

Thank you for the link.

Thanks,
Davidapache
Back to top


Reply to topic   Topic: Change Default (IP address) to a unique website name View previous topic :: View next topic
Post new topic   Forum Index -> Apache