You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Beraru Liviu <li...@yahoo.com> on 2007/02/01 18:35:21 UTC

[users@httpd] how to set up virtual hosts

Hy!
  I am new in Apache and I used it until now only for testing PHP and MySQL.
  I have now to host some web sites but I don't know how.
  I searched for tutorials on the web, in the apache mailing lists, in the Apache documentation and also in the FAQ but I couldn't find an answer to a few questions.
  I mention that I haven't done any experiments in order to "lunch" my websites because I don't want to ruin the computers I use...
   
  How do I find a A to Z websiteshosting tutorial?
   
  I know that I have to change the vhosts.conf file, but... more than this ... I know nothing.
   
  How exactly to I get my websites on the net?
   
  Just create folders and declare them in the vhosts file?
   
  What's the importance of the .com, .de, .net, .it, .ro and so on terminations?
  Should I just create a folder named www.website.com and that's it?
   
  Sorry for my ignorance.
  Hope in getting some help - I would really apreciate it.
  Thanks,
  Liviu 

 
---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people who know.

Re: [users@httpd] how to set up virtual hosts

Posted by Arturo Ignacio Partarrieu Ramos <su...@gmail.com>.
Thanks men, because I iniatially don't realise how to use your tips,
but some days ago I realize that use No-ip script is not a bad idea at
all, because you can change it at will.
So, finding in Internet how to use bash commands + No-ip + imagination
= problem solved

I finally made my own script (for dynamic ip), still in test stage,
but close near to end it.

Thanks, to you all :)
===================================
On 2/7/07, Beraru Liviu <li...@yahoo.com> wrote:
> Thanks for the tip.
> My problem is that I cannot be very long on line, so that I needed this off
> line documentation.
> Thanks one more time.
> Liviu
>
> Joshua Slive <jo...@slive.ca> wrote:
> On 2/7/07, Beraru Liviu wrote:
> > On the Apache website I haven't seen a downloadable documentation.
> > Do you know any possibility to download the documentation, because I
> cannot
> > be on line all the time and I would need a documentation wich I could use
> > local, off line. And saving every page in the documentation doesn't seem
> > very practicle.
>
> In addition to what Owen said, various other forms of downloadable
> documentation (including the rather convenient windows help format and
> a printable pdf) are available here:
> http://www.apache.org/dyn/closer.cgi/httpd/docs/
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>  ________________________________
> Food fight? Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
Thanks for the tip.
  My problem is that I cannot be very long on line, so that I needed this off line documentation.
  Thanks one more time.
  Liviu

Joshua Slive <jo...@slive.ca> wrote:
  On 2/7/07, Beraru Liviu 
wrote:
> On the Apache website I haven't seen a downloadable documentation.
> Do you know any possibility to download the documentation, because I cannot
> be on line all the time and I would need a documentation wich I could use
> local, off line. And saving every page in the documentation doesn't seem
> very practicle.

In addition to what Owen said, various other forms of downloadable
documentation (including the rather convenient windows help format and
a printable pdf) are available here:
http://www.apache.org/dyn/closer.cgi/httpd/docs/

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/7/07, Beraru Liviu <li...@yahoo.com> wrote:
> On the Apache website I haven't seen a downloadable documentation.
> Do you know any possibility to download the documentation, because I cannot
> be on line all the time and I would need a documentation wich I could use
> local, off line. And saving every page in the documentation doesn't seem
> very practicle.

In addition to what Owen said, various other forms of downloadable
documentation (including the rather convenient windows help format and
a printable pdf) are available here:
http://www.apache.org/dyn/closer.cgi/httpd/docs/

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
Thank you very much, it works now.
  Sometimes I am wondering about my ignorance.
   
  On the Apache website I haven't seen a downloadable documentation.
  Do you know any possibility to download the documentation, because I cannot be on line all the time and I would need a documentation wich I could use local, off line. And saving every page in the documentation doesn't seem very practicle.

Joshua Slive <jo...@slive.ca> wrote:
  On 2/5/07, Beraru Liviu 
wrote:
> The line does not appear in the the httpd.conf file ( I searched the
> document) but in the httpd-vhosts it apears, although commented like this:
>
> ##NameVirtualHost *:80
>
> I don't know what it means.

If it's commented out, it means you haven't properly configured your
vhosts. Uncomment it!

It is used to tell apache that more than one hostname is sharing the
same IP address. See:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html#using

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/5/07, Beraru Liviu <li...@yahoo.com> wrote:
> The line does not appear in the the httpd.conf file ( I searched the
> document) but in the httpd-vhosts it apears, although commented like this:
>
> ##NameVirtualHost *:80
>
> I don't know what it means.

If it's commented out, it means you haven't properly configured your
vhosts.  Uncomment it!

It is used to tell apache that more than one hostname is sharing the
same IP address.  See:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html#using

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Arturo Ignacio Partarrieu Ramos <su...@gmail.com>.
from		Beraru Liviu
to		users@httpd.apache.org
date		Feb 4, 2007 2:44 PM
subject		Re: [users@httpd] how to set up virtual hosts
mailed-by		httpd.apache.org

Perhaps I am wrong, but is your problem that your machine cannot be
"visible" for the internet because you are behind a router?
Maybe this will help (it helped me):
http://lifehacker.com/software/top/geek-to-live--how-to-access-a-home-server-behind-a-routerfirewall-127276.php
==============
Thanks Beraru, but it is not that. I want to make a script like No-ip
for a dynamic IP and for my own domain, without paying for learn to do
it. So I only need some functions under Linux console or terminal
(*.sh file).

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
The line does not appear in the the httpd.conf file ( I searched the document) but in the httpd-vhosts it apears, although commented like this:
   
  ##NameVirtualHost *:80
   
  I don't know what it means.

Joshua Slive <jo...@slive.ca> wrote:
  On 2/4/07, Beraru Liviu 
wrote:
> Yes, I did. Here it is:
>
> # Virtual hosts
> Include conf/extra/httpd-vhosts.conf

Do you have
NameVirtualHost *:80
someplace?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.

Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/4/07, Beraru Liviu <li...@yahoo.com> wrote:
> Yes, I did. Here it is:
>
> # Virtual hosts
> Include conf/extra/httpd-vhosts.conf

Do you have
NameVirtualHost *:80
someplace?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
Yes, I did. Here it is:
   
  # Virtual hosts
Include conf/extra/httpd-vhosts.conf

Joshua Slive <jo...@slive.ca> wrote:
  On 2/4/07, Beraru Liviu 
wrote:
> I have a problem:
>
> I created two virtual hosts: one named localhost, and one named
> eurythmeum.de
>
> There are two folders in which I put the files, one named localhost and one
> maerchen.
>
> Here is the code in the httpd-vhosts.conf:
>
> 
> ServerName localhost
> DocumentRoot C:/Programme/xampp/htdocs/localhost
> 
>
> 
> ServerName eurythmeum.de
> DocumentRoot C:/Programme/xampp/htdocs/maerchen
> 
>
> But when I type in the browsers adress http://eurythmeum.de I get the same
> result as when I type http://localhost namely the content of the "localhost"
> folder, as if I would have typed http://localhost

That is approximately the right config.

But you mention putting it in httpd-vhost.conf. Did you Include that
config in httpd.conf?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/4/07, Beraru Liviu <li...@yahoo.com> wrote:
> I have a problem:
>
> I created two virtual hosts: one named localhost, and one named
> eurythmeum.de
>
> There are two folders in which I put the files, one named localhost and one
> maerchen.
>
> Here is the code in the httpd-vhosts.conf:
>
> <VirtualHost *:80>
> ServerName localhost
> DocumentRoot C:/Programme/xampp/htdocs/localhost
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerName eurythmeum.de
> DocumentRoot C:/Programme/xampp/htdocs/maerchen
> </VirtualHost>
>
> But when I type in the browsers adress http://eurythmeum.de I get the same
> result as when I type http://localhost namely the content of the "localhost"
> folder, as if I would have typed http://localhost

That is approximately the right config.

But you mention putting it in httpd-vhost.conf.  Did you Include that
config in httpd.conf?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
I have a problem:
   
  I created two virtual hosts: one named localhost, and one named eurythmeum.de
   
  There are two folders in which I put the files, one named localhost and one maerchen.
   
  Here is the code in the httpd-vhosts.conf:
   
  <VirtualHost *:80>
ServerName localhost
DocumentRoot C:/Programme/xampp/htdocs/localhost
</VirtualHost>
   
  <VirtualHost *:80>
ServerName eurythmeum.de
DocumentRoot C:/Programme/xampp/htdocs/maerchen
</VirtualHost>
   
  But when I type in the browsers adress http://eurythmeum.de I get the same result as when I type http://localhost namely the content of the "localhost" folder, as if I would have typed http://localhost
   
  Also, in the "hosts" file, located in windows/system32/drivers/etc, I wrote:
   
  127.0.0.1       localhost
127.0.0.1       eurythmeum.de
   
  Is there any misstake I made?
  I have Xampp last version (downloaded yesterday).

Arturo Ignacio Partarrieu Ramos <su...@gmail.com> wrote:
  Thanks, but that I already knew it. Other one is No-ip.
==========================
On 2/3/07, Phill Edwards 
wrote:
> For DDNS create an account at www.dyndns.org or www.zoneip.net. They
> have pre-built scripts that will ensure that your fully qualified
> domain name always points to your IP address. Follopw the instructions
> there for how to install those scripts.
>
> On 2/4/07, Arturo Ignacio Partarrieu Ramos wrote:
> > I know, since what you said to Beraru Liviu that what he asks is out
> > of scope for this list, even though I will ask.
> >
> > I would like to have a DDNS server behind a router. I already have a
> > domain and a company that is related to NIC so the job is partially
> > done. It remains that my server constantly advice to that third party
> > that the IP has changed when it occurs.
> >
> > I am trying to generate a script that could obtain my public IP with
> > URL dedicated to, and then advice to the third party, mentioned
> > before, the new IP (if it has changed).
> >
> > This script will be under Linux. I am trying hard to obtain the
> > commands in Linux that could do that. Do you know about it? Or who
> > could have one?
> >
> > Thanks.
> >
> > I would be very thankful.
> >
> > Arturo Ignacio Partarrieu R
> >
> > =======================================
> > On 2/2/07, Joshua Slive wrote:
> > > On 2/2/07, Beraru Liviu 
wrote:
> > > > "configure DNS to map the desired hostname to the IP address for your
> > > > server"
> > > >
> > > > Thanks, but how do I do this?
> > >
> > > As I said immediately following this line:
> > > This is out of scope for this list in general, especially
> > > since it is impossible to tell exactly what point you are starting
> > > from. Your ISP would probably be a good source of help for this
> > > question, or maybe something like:
> > > http://www.howstuffworks.com/dns.htm

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
Perhaps I am wrong, but is your problem that your machine cannot be "visible" for the internet because you are behind a router?
  Maybe this will help (it helped me):
  http://lifehacker.com/software/top/geek-to-live--how-to-access-a-home-server-behind-a-routerfirewall-127276.php
  

Arturo Ignacio Partarrieu Ramos <su...@gmail.com> wrote:
  Thanks, but that I already knew it. Other one is No-ip.
==========================
On 2/3/07, Phill Edwards 
wrote:
> For DDNS create an account at www.dyndns.org or www.zoneip.net. They
> have pre-built scripts that will ensure that your fully qualified
> domain name always points to your IP address. Follopw the instructions
> there for how to install those scripts.
>
> On 2/4/07, Arturo Ignacio Partarrieu Ramos wrote:
> > I know, since what you said to Beraru Liviu that what he asks is out
> > of scope for this list, even though I will ask.
> >
> > I would like to have a DDNS server behind a router. I already have a
> > domain and a company that is related to NIC so the job is partially
> > done. It remains that my server constantly advice to that third party
> > that the IP has changed when it occurs.
> >
> > I am trying to generate a script that could obtain my public IP with
> > URL dedicated to, and then advice to the third party, mentioned
> > before, the new IP (if it has changed).
> >
> > This script will be under Linux. I am trying hard to obtain the
> > commands in Linux that could do that. Do you know about it? Or who
> > could have one?
> >
> > Thanks.
> >
> > I would be very thankful.
> >
> > Arturo Ignacio Partarrieu R
> >
> > =======================================
> > On 2/2/07, Joshua Slive wrote:
> > > On 2/2/07, Beraru Liviu 
wrote:
> > > > "configure DNS to map the desired hostname to the IP address for your
> > > > server"
> > > >
> > > > Thanks, but how do I do this?
> > >
> > > As I said immediately following this line:
> > > This is out of scope for this list in general, especially
> > > since it is impossible to tell exactly what point you are starting
> > > from. Your ISP would probably be a good source of help for this
> > > question, or maybe something like:
> > > http://www.howstuffworks.com/dns.htm

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 	
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

Re: [users@httpd] how to set up virtual hosts

Posted by Arturo Ignacio Partarrieu Ramos <su...@gmail.com>.
Thanks, but that I already knew it. Other one is No-ip.
==========================
On 2/3/07, Phill Edwards <ph...@gmail.com> wrote:
> For DDNS create an account at www.dyndns.org or www.zoneip.net. They
> have pre-built scripts that will ensure that your fully qualified
> domain name always points to your IP address. Follopw the instructions
> there for how to install those scripts.
>
> On 2/4/07, Arturo Ignacio Partarrieu Ramos <su...@gmail.com> wrote:
> > I know, since what you said to Beraru Liviu that what he asks is out
> > of scope for this list, even though I will ask.
> >
> > I would like to have a DDNS server behind a router. I already have a
> > domain and a company that is related to NIC so the job is partially
> > done. It remains that my server constantly advice to that third party
> > that the IP has changed when it occurs.
> >
> > I am trying to generate a script that could obtain my public IP with
> > URL dedicated to, and then advice to the third party, mentioned
> > before, the new IP (if it has changed).
> >
> > This script will be under Linux. I am trying hard to obtain the
> > commands in Linux that could do that. Do you know about it? Or who
> > could have one?
> >
> > Thanks.
> >
> > I would be very thankful.
> >
> > Arturo Ignacio Partarrieu R
> >
> > =======================================
> > On 2/2/07, Joshua Slive <jo...@slive.ca> wrote:
> > > On 2/2/07, Beraru Liviu <li...@yahoo.com> wrote:
> > > > "configure DNS to map the desired hostname to the IP address for your
> > > > server"
> > > >
> > > > Thanks, but how do I do this?
> > >
> > > As I said immediately following this line:
> > > This is out of scope for this list in general, especially
> > > since it is impossible to tell exactly what point you are starting
> > > from.  Your ISP would probably be a good source of help for this
> > > question, or maybe something like:
> > > http://www.howstuffworks.com/dns.htm

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Phill Edwards <ph...@gmail.com>.
For DDNS create an account at www.dyndns.org or www.zoneip.net. They
have pre-built scripts that will ensure that your fully qualified
domain name always points to your IP address. Follopw the instructions
there for how to install those scripts.

On 2/4/07, Arturo Ignacio Partarrieu Ramos <su...@gmail.com> wrote:
> I know, since what you said to Beraru Liviu that what he asks is out
> of scope for this list, even though I will ask.
>
> I would like to have a DDNS server behind a router. I already have a
> domain and a company that is related to NIC so the job is partially
> done. It remains that my server constantly advice to that third party
> that the IP has changed when it occurs.
>
> I am trying to generate a script that could obtain my public IP with
> URL dedicated to, and then advice to the third party, mentioned
> before, the new IP (if it has changed).
>
> This script will be under Linux. I am trying hard to obtain the
> commands in Linux that could do that. Do you know about it? Or who
> could have one?
>
> Thanks.
>
> I would be very thankful.
>
> Arturo Ignacio Partarrieu R
>
> =======================================
> On 2/2/07, Joshua Slive <jo...@slive.ca> wrote:
> > On 2/2/07, Beraru Liviu <li...@yahoo.com> wrote:
> > > "configure DNS to map the desired hostname to the IP address for your
> > > server"
> > >
> > > Thanks, but how do I do this?
> >
> > As I said immediately following this line:
> > This is out of scope for this list in general, especially
> > since it is impossible to tell exactly what point you are starting
> > from.  Your ISP would probably be a good source of help for this
> > question, or maybe something like:
> > http://www.howstuffworks.com/dns.htm
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Arturo Ignacio Partarrieu Ramos <su...@gmail.com>.
I know, since what you said to Beraru Liviu that what he asks is out
of scope for this list, even though I will ask.

I would like to have a DDNS server behind a router. I already have a
domain and a company that is related to NIC so the job is partially
done. It remains that my server constantly advice to that third party
that the IP has changed when it occurs.

I am trying to generate a script that could obtain my public IP with
URL dedicated to, and then advice to the third party, mentioned
before, the new IP (if it has changed).

This script will be under Linux. I am trying hard to obtain the
commands in Linux that could do that. Do you know about it? Or who
could have one?

Thanks.

I would be very thankful.

Arturo Ignacio Partarrieu R

=======================================
On 2/2/07, Joshua Slive <jo...@slive.ca> wrote:
> On 2/2/07, Beraru Liviu <li...@yahoo.com> wrote:
> > "configure DNS to map the desired hostname to the IP address for your
> > server"
> >
> > Thanks, but how do I do this?
>
> As I said immediately following this line:
> This is out of scope for this list in general, especially
> since it is impossible to tell exactly what point you are starting
> from.  Your ISP would probably be a good source of help for this
> question, or maybe something like:
> http://www.howstuffworks.com/dns.htm
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/2/07, Beraru Liviu <li...@yahoo.com> wrote:
> "configure DNS to map the desired hostname to the IP address for your
> server"
>
> Thanks, but how do I do this?

As I said immediately following this line:
This is out of scope for this list in general, especially
since it is impossible to tell exactly what point you are starting
from.  Your ISP would probably be a good source of help for this
question, or maybe something like:
http://www.howstuffworks.com/dns.htm

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to set up virtual hosts

Posted by Beraru Liviu <li...@yahoo.com>.
"configure DNS to map the desired hostname to the IP address for your
server"
   
  Thanks, but how do I do this?
  

Joshua Slive <jo...@slive.ca> wrote:
  On 2/1/07, Beraru Liviu 
wrote:
> Hy!
> I am new in Apache and I used it until now only for testing PHP and MySQL.
> I have now to host some web sites but I don't know how.
> I searched for tutorials on the web, in the apache mailing lists, in the
> Apache documentation and also in the FAQ but I couldn't find an answer to a
> few questions.
> I mention that I haven't done any experiments in order to "lunch" my
> websites because I don't want to ruin the computers I use...
>
> How do I find a A to Z websiteshosting tutorial?
>
> I know that I have to change the vhosts.conf file, but... more than this ...
> I know nothing.
>
> How exactly to I get my websites on the net?
>
> Just create folders and declare them in the vhosts file?
>
> What's the importance of the .com, .de, .net, .it, .ro and so on
> terminations?
> Should I just create a folder named www.website.com and that's it?

The apache virtual host documentation is a good place to start:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html

But it sounds like you might need something a little more basic. In
particular, before you even start configuring apache, you need to
configure DNS to map the desired hostname to the IP address for your
server. This is out of scope for this list in general, especially
since it is impossible to tell exactly what point you are starting
from. Your ISP would probably be a good source of help for this
question, or maybe something like:
http://www.howstuffworks.com/dns.htm

Once you get the DNS mapped correctly, you need to configure apache.
If you find the apache docs too dense, a quick google will turn up
dozens of tutorials:
http://www.google.com/search?q=virtual+hosts+apache
Just be sure to check what they say against the official docs, since
the quality of the tutorials can vary widely.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

Re: [users@httpd] how to set up virtual hosts

Posted by Joshua Slive <jo...@slive.ca>.
On 2/1/07, Beraru Liviu <li...@yahoo.com> wrote:
> Hy!
> I am new in Apache and I used it until now only for testing PHP and MySQL.
> I have now to host some web sites but I don't know how.
> I searched for tutorials on the web, in the apache mailing lists, in the
> Apache documentation and also in the FAQ but I couldn't find an answer to a
> few questions.
> I mention that I haven't done any experiments in order to "lunch" my
> websites because I don't want to ruin the computers I use...
>
> How do I find a A to Z websiteshosting tutorial?
>
> I know that I have to change the vhosts.conf file, but... more than this ...
> I know nothing.
>
> How exactly to I get my websites on the net?
>
> Just create folders and declare them in the vhosts file?
>
> What's the importance of the .com, .de, .net, .it, .ro and so on
> terminations?
> Should I just create a folder named www.website.com and that's it?

The apache virtual host documentation is a good place to start:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html

But it sounds like you might need something a little more basic.  In
particular, before you even start configuring apache, you need to
configure DNS to map the desired hostname to the IP address for your
server.  This is out of scope for this list in general, especially
since it is impossible to tell exactly what point you are starting
from.  Your ISP would probably be a good source of help for this
question, or maybe something like:
http://www.howstuffworks.com/dns.htm

Once you get the DNS mapped correctly, you need to configure apache.
If you find the apache docs too dense, a quick google will turn up
dozens of tutorials:
http://www.google.com/search?q=virtual+hosts+apache
Just be sure to check what they say against the official docs, since
the quality of the tutorials can vary widely.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org