Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-28 ϑεμα Konstantinos Zigourakis
Νομίζω πως κατάλαβα. 

Αυτό το άρθρο που έχεις στο μυαλό σου να κανείς αν μπορείς να το συντομευσεις 
θα ήταν καλή ιδέα. :) :)

Θα με ενδιέφερε να κάνω κάτι τέτοιο και για να μάθω αλλά και για να μην θυμάμαι 
ένα σωρό από νούμερα.

Από το iPhone μου

27 Ιουλ 2011, 20:53, ο/η Konstantinos Togias ktog...@math.upatras.gr έγραψε:

 2011/7/26 Konstantinos Zigourakis breeze...@gmail.com:
 Και αν θέλαμε να το κάνουμε με dns τι διαδικασία θα ακολουθουσαμε;
 
 
 Η ιδέα είναι ότι σε ένα server σου στήνεις έναν bind, τον οποίο
 μπορείς να ρυθμίσεις και ως caching dns για να κάνει resolve και τα
 κανονικά dns του internet, ορίζεις σε αυτόν μια ψευδο-ζώνη dns για το
 γραφείο σου (π.χ. .myoffice ή όπως θες), ορίζεις εκεί τους hosts (π.χ.
 τα pc1.myoffice, www.myoffice , web.myoffice, mysite.myoffice δείχνουν
 στο 192.168.0.20, το pc2.myoffice δείχνει στο 192.168.0.22 κλπ) και
 βάζεις ως dns server στα pc σου το δικό σου dns server. Έτσι όταν θα
 γραφεις στον firefox http://mysite.myoffice αυτό θα γίνεται resove από
 τον dns σου sto 192.168.0.20 και επειδή κλήθηκε ως mysite.myoffice θα
 κάνει fire τον αντίστοιχο virtual host στον apache του 192.168.0.20.
 Κάπως έτσι έχω στημένο το δίκτυο στο σπίτι μου (με ufw/iptables για
 firewall και ip masqing/port forwarding, tc/wondershaper για qos,
 bind, squid ως transparent proxy, dhcp server όλα πάνω σε ένα ubuntu
 10.04 server που μου σηκώνει με ppp-over-ethernet - bridged με ένα dsl
 modem - τη σύνδεσή μου με τον έξω κόσμο). Κάποια στιγμή ελπίζω θα βρω
 χρόνο να γράψω ένα άρθρο για το πως το έχω στήσει...
 
 -- 
 Konstantinos Togias
 Dipl.-Math., M.Sc.
 Hellenic Open University
 and Research Academic Computer Technology Institute
 
 Ubuntu-gr LoCo team member
-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-27 ϑεμα Marios Zindilis

@Alexius Dionysius Diakogiannis

Εννοούσα σε κάθε υπολογιστή πελάτη στο δίκτυο να οριστεί η γραμμή στο 
hosts. Δεν ήταν ξεκάθαρο από την απάντησή μου όμως. Για μικρό αριθμό 
συστημάτων είναι μια επίπονη αλλά βολική λύση.


On 07/26/2011 07:23 PM, Panagiotis Theodoropoulos wrote:

Ευχαριστώ για τις απαντήσεις.
Η λύση που έδωσα ήταν να δηλώσω τα Virtual hosts στο file hosts του
client, γιατί σε κάθε περίπτωση ήταν για τεστ και δεν έχω την δυνατότητα
τοπικού DNS, καθόσον όλα γίνονται κάτω από εταιρικό δίκτυο.

Χαιρετισμούς

2011/7/26 Alexius Dionysius Diakogiannis
alexius.dionys...@diakogiannis.com
mailto:alexius.dionys...@diakogiannis.com



Sent From iPhone
Και οι υπόλοιποι υπολογιστές στο δίκτυο αν τον καλεί με hostname που
θα ξέρουν ποιος είναι;

Think Before You Print This Email

26 Ιουλ 2011, 17:46, ο/η Marios Zindilis mar...@zindilis.com
mailto:mar...@zindilis.com έγραψε:

  Στο /etc/hosts θα προσθέσεις κάτι σαν:
 
  10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house
 
  Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα
εξυπηρετεί ο συγκεκριμένος εξυπηρετητής.
 
  On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:
  *Οχι*.
  Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε
client που θα
  βλέπει τα Virual Hosts?
  host file = /etc/hosts ?
  Στα Windows?
 
  2011/7/26 Alexius Dionysius
Diakogiannisalexius.dionys...@diakogiannis.com
mailto:alexius.dionys...@diakogiannis.com
 
 
 
  Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο
host file?
 
  Sent From iPhone
 
  Alexius Dionysius Diakogiannis
 
 
  Think Before You Print This Email
 
  26 Ιουλ 2011, 15:51, ο/η Panagiotis
Theodoropoulostpanagio...@gmail.com mailto:tpanagio...@gmail.com
  έγραψε:
 
  Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την
static ip
  10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
  Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου
είναι ότι ενώ
  τα
  δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από
τον ίδιο τον
  server δεν μπορώ να τα δώ από κανένα client του δικτύου.
  Μήπως δεν υπάρχει αυτή η δυνατότητα?
  Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
  - Οι βασικές ρυθμίσεις που έκανα
 
 
1. *cd /etc/apache2/sites-available*
2. *sudo vim
**myvirtualhost.localhttp://yourdomain.com/**.conf*
  and
enter VirtualHost directive.
  VirtualHost *:80
  ServerName myvirtualhost.localhttp://yourdomain.com/
  DocumentRoot /var/www/myvirtualhost
  /VirtualHost
Save  exit.
3. *sudo vim /etc/hosts* and add new domain so it looks like
this:
4. *127.0.0.1 localhost
10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*
 
Save  exit.
5. Enable your new virtualhost:
*sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
6. Reload the Apache configuration:
sudo /etc/init.d/apache2 reload
 
 
 
  --
  Παναγιώτης Θεοδωρόπουλος
  Panagiotis Theodoropoulos
  tpanagio...@gmail.com mailto:tpanagio...@gmail.com
  -- next part --
  An HTML attachment was scrubbed...
  URL:
 

https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 
  --
  Ubuntu-gr mailing list
  Ubuntu-gr@lists.ubuntu.com mailto:Ubuntu-gr@lists.ubuntu.com
 
  If you do not want to receive any more messages from the ubuntu-gr
  mailing list, please follow this link and choose unsubscribe:
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 
 
  --
  Ubuntu-gr mailing list
  Ubuntu-gr@lists.ubuntu.com mailto:Ubuntu-gr@lists.ubuntu.com
 
  If you do not want to receive any more messages from the
ubuntu-gr mailing list, please follow this link and choose unsubscribe:
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com mailto:Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr
mailing list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr




--
Παναγιώτης Θεοδωρόπουλος
Panagiotis Theodoropoulos
tpanagio...@gmail.com mailto:tpanagio...@gmail.com



--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-27 ϑεμα Konstantinos Togias
2011/7/26 Konstantinos Zigourakis breeze...@gmail.com:
 Και αν θέλαμε να το κάνουμε με dns τι διαδικασία θα ακολουθουσαμε;


Η ιδέα είναι ότι σε ένα server σου στήνεις έναν bind, τον οποίο
μπορείς να ρυθμίσεις και ως caching dns για να κάνει resolve και τα
κανονικά dns του internet, ορίζεις σε αυτόν μια ψευδο-ζώνη dns για το
γραφείο σου (π.χ. .myoffice ή όπως θες), ορίζεις εκεί τους hosts (π.χ.
τα pc1.myoffice, www.myoffice , web.myoffice, mysite.myoffice δείχνουν
στο 192.168.0.20, το pc2.myoffice δείχνει στο 192.168.0.22 κλπ) και
βάζεις ως dns server στα pc σου το δικό σου dns server. Έτσι όταν θα
γραφεις στον firefox http://mysite.myoffice αυτό θα γίνεται resove από
τον dns σου sto 192.168.0.20 και επειδή κλήθηκε ως mysite.myoffice θα
κάνει fire τον αντίστοιχο virtual host στον apache του 192.168.0.20.
Κάπως έτσι έχω στημένο το δίκτυο στο σπίτι μου (με ufw/iptables για
firewall και ip masqing/port forwarding, tc/wondershaper για qos,
bind, squid ως transparent proxy, dhcp server όλα πάνω σε ένα ubuntu
10.04 server που μου σηκώνει με ppp-over-ethernet - bridged με ένα dsl
modem - τη σύνδεσή μου με τον έξω κόσμο). Κάποια στιγμή ελπίζω θα βρω
χρόνο να γράψω ένα άρθρο για το πως το έχω στήσει...

-- 
Konstantinos Togias
Dipl.-Math., M.Sc.
Hellenic Open University
and Research Academic Computer Technology Institute

Ubuntu-gr LoCo team member
-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Alexius Dionysius Diakogiannis

Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?

Sent From iPhone

Alexius Dionysius Diakogiannis


Think Before You Print This Email

26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos tpanagio...@gmail.com 
έγραψε:

 Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
 10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
 Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ τα
 δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
 server δεν μπορώ να τα δώ από κανένα client του δικτύου.
 Μήπως δεν υπάρχει αυτή η δυνατότητα?
 Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
 - Οι βασικές ρυθμίσεις που έκανα
 
 
   1. *cd /etc/apache2/sites-available*
   2. *sudo vim **myvirtualhost.local http://yourdomain.com/**.conf* and
   enter VirtualHost directive.
   VirtualHost *:80
 ServerName myvirtualhost.local http://yourdomain.com/
 DocumentRoot /var/www/myvirtualhost
   /VirtualHost
   Save  exit.
   3. *sudo vim /etc/hosts* and add new domain so it looks like this:
   4. *127.0.0.1 localhost
   10.11.21.198 myvirtualhost.local http://yourdomain.com/*
 
   Save  exit.
   5. Enable your new virtualhost:
   *sudo a2ensite myvirtualhost.local http://yourdomain.com/.conf*
   6. Reload the Apache configuration:
   sudo /etc/init.d/apache2 reload
 
 
 
 -- 
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 -- 
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr mailing 
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Panagiotis Theodoropoulos
*Οχι*.
Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
βλέπει τα Virual Hosts?
host file = /etc/hosts ?
Στα Windows?

2011/7/26 Alexius Dionysius Diakogiannis alexius.dionys...@diakogiannis.com



 Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?

 Sent From iPhone

 Alexius Dionysius Diakogiannis


 Think Before You Print This Email

 26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos tpanagio...@gmail.com
 έγραψε:

  Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
  10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
  Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ
 τα
  δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
  server δεν μπορώ να τα δώ από κανένα client του δικτύου.
  Μήπως δεν υπάρχει αυτή η δυνατότητα?
  Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
  - Οι βασικές ρυθμίσεις που έκανα
 
 
1. *cd /etc/apache2/sites-available*
2. *sudo vim **myvirtualhost.local http://yourdomain.com/**.conf*
 and
enter VirtualHost directive.
VirtualHost *:80
  ServerName myvirtualhost.local http://yourdomain.com/
  DocumentRoot /var/www/myvirtualhost
/VirtualHost
Save  exit.
3. *sudo vim /etc/hosts* and add new domain so it looks like this:
4. *127.0.0.1 localhost
10.11.21.198 myvirtualhost.local http://yourdomain.com/*
 
Save  exit.
5. Enable your new virtualhost:
*sudo a2ensite myvirtualhost.local http://yourdomain.com/.conf*
6. Reload the Apache configuration:
sudo /etc/init.d/apache2 reload
 
 
 
  --
  Παναγιώτης Θεοδωρόπουλος
  Panagiotis Theodoropoulos
  tpanagio...@gmail.com
  -- next part --
  An HTML attachment was scrubbed...
  URL: 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 
  --
  Ubuntu-gr mailing list
  Ubuntu-gr@lists.ubuntu.com
 
  If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr




-- 
Παναγιώτης Θεοδωρόπουλος
Panagiotis Theodoropoulos
tpanagio...@gmail.com
-- next part --
An HTML attachment was scrubbed...
URL: 
https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/522c0690/attachment.html
-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Sergey Tsabolov (aka linuxman)

Στις 26/07/2011 04:45 μμ, ο/η Panagiotis Theodoropoulos έγραψε:

*Οχι*.
Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
βλέπει τα Virual Hosts?
host file = /etc/hosts ?
Στα Windows?
Μήπως καλύτερα να βάλεις ένα τοπικό DNS όπου θα περάσεις αυτά τα Virtual 
Hosts και τέλος .

Θα είναι τότε ποιο εύκολα να κάνεις τις ρυθμίσεις για νέα αργότερα.

2011/7/26 Alexius Dionysius Diakogiannisalexius.dionys...@diakogiannis.com

Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?

Sent From iPhone

Alexius Dionysius Diakogiannis


Think Before You Print This Email

26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulostpanagio...@gmail.com
έγραψε:


Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ

τα

δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
server δεν μπορώ να τα δώ από κανένα client του δικτύου.
Μήπως δεν υπάρχει αυτή η δυνατότητα?
Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?

- Οι βασικές ρυθμίσεις που έκανα


   1. *cd /etc/apache2/sites-available*
   2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*

and

   enter VirtualHost directive.
   VirtualHost *:80
 ServerName myvirtualhost.localhttp://yourdomain.com/
 DocumentRoot /var/www/myvirtualhost
   /VirtualHost
   Save  exit.
   3. *sudo vim /etc/hosts* and add new domain so it looks like this:
   4. *127.0.0.1 localhost
   10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*

   Save  exit.
   5. Enable your new virtualhost:
   *sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
   6. Reload the Apache configuration:
   sudo /etc/init.d/apache2 reload



--
Παναγιώτης Θεοδωρόπουλος
Panagiotis Theodoropoulos
tpanagio...@gmail.com
-- next part --
An HTML attachment was scrubbed...
URL:

https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html

--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr

mailing list, please follow this link and choose unsubscribe:

https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr





--
---
Don't send me documents in .doc , .docx, .xls, .ppt , .pptx .
Send it with ODF format : .odt , .odp , .ods or .pdf .
Try to use Open Document Format : http://el.libreoffice.org
Save you money and use GNU/Linux Distro http://distrowatch.com/
--
First they ignore you, then they ridicule you, then they fight you,then you 
win!!!

   * English - detected
   * Afrikaans
   * Albanian
   * Arabic
   * Belarusian
   * Bulgarian
   * Catalan
   * Chinese
   * Chinese (Simplified)
   * Chinese (Traditional)
   * Croatian
   * Czech
   * Danish
   * Dutch
   * English
   * Estonian
   * Filipino
   * Finnish
   * French
   * Galician
   * German
   * Greek
   * Hebrew
   * Haitian Creole
   * Hindi
   * Hungarian
   * Icelandic
   * Indonesian
   * Irish
   * Italian
   * Japanese
   * Korean
   * Latvian
   * Lithuanian
   * Macedonian
   * Malay
   * Maltese
   * Norwegian
   * Persian
   * Polish
   * Portuguese
   * Portuguese (Portugal)
   * Romanian
   * Russian
   * Serbian
   * Slovak
   * Slovenian
   * Spanish
   * Swahili
   * Swedish
   * Thai
   * Turkish
   * Ukrainian
   * Vietnamese
   * Welsh
   * Yiddish

   * Afrikaans
   * Albanian
   * Arabic
   * Belarusian
   * Bulgarian
   * Catalan
   * Chinese
   * Chinese (Simplified)
   * Chinese (Traditional)
   * Croatian
   * Czech
   * Danish
   * Dutch
   * English
   * Estonian
   * Filipino
   * Finnish
   * French
   * Galician
   * German
   * Greek
   * Hebrew
   * Haitian Creole
   * Hindi
   * Hungarian
   * Icelandic
   * Indonesian
   * Irish
   * Italian
   * Japanese
   * Korean
   * Latvian
   * Lithuanian
   * Macedonian
   * Malay
   * Maltese
   * Norwegian
   * Persian
   * Polish
   * Portuguese
   * Portuguese (Portugal)
   * Romanian
   * Russian
   * Serbian
   * Slovak
   * Slovenian
   * Spanish
   * Swahili
   * Swedish
   * Thai
   * Turkish
   * Ukrainian
   * Vietnamese
   * Welsh
   * Yiddish

javascript:void(0);#
-- next part --
An HTML attachment was scrubbed...
URL: 
https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/5606c8a8/attachment.html
--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Alexius Dionysius Diakogiannis
I agree αλλιώς θέλει 1-1 αλλαγή. Στα windows είναι 
c;\windows/system32/etc/drivers/hosts η κάπως έτσι :p

Sent From iPhone



Think Before You Print This Email

26 Ιουλ 2011, 17:12, ο/η Sergey Tsabolov (aka linuxman) serg...@greeklug.gr 
έγραψε:

 Στις 26/07/2011 04:45 μμ, ο/η Panagiotis Theodoropoulos έγραψε:
 
 *Οχι*.
 Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
 βλέπει τα Virual Hosts?
 host file = /etc/hosts ?
 Στα Windows?
 Μήπως καλύτερα να βάλεις ένα τοπικό DNS όπου θα περάσεις αυτά τα Virtual 
 Hosts και τέλος .
 Θα είναι τότε ποιο εύκολα να κάνεις τις ρυθμίσεις για νέα αργότερα.
 2011/7/26 Alexius Dionysius Diakogiannis alexius.dionys...@diakogiannis.com
 
 
 Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?
 
 Sent From iPhone
 
 Alexius Dionysius Diakogiannis
 
 
 Think Before You Print This Email
 
 26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos tpanagio...@gmail.com
 έγραψε:
 
 Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
 10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
 Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ
 τα
 δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
 server δεν μπορώ να τα δώ από κανένα client του δικτύου.
 Μήπως δεν υπάρχει αυτή η δυνατότητα?
 Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
 - Οι βασικές ρυθμίσεις που έκανα
 
 
   1. *cd /etc/apache2/sites-available*
   2. *sudo vim **myvirtualhost.local http://yourdomain.com/**.conf*
 and
   enter VirtualHost directive.
   VirtualHost *:80
 ServerName myvirtualhost.local http://yourdomain.com/
 DocumentRoot /var/www/myvirtualhost
   /VirtualHost
   Save  exit.
   3. *sudo vim /etc/hosts* and add new domain so it looks like this:
   4. *127.0.0.1 localhost
   10.11.21.198 myvirtualhost.local http://yourdomain.com/*
 
   Save  exit.
   5. Enable your new virtualhost:
   *sudo a2ensite myvirtualhost.local http://yourdomain.com/.conf*
   6. Reload the Apache configuration:
   sudo /etc/init.d/apache2 reload
 
 
 
 --
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 -- 
 ---
 Don't send me documents in .doc , .docx, .xls, .ppt , .pptx .
 Send it with ODF format : .odt , .odp , .ods or .pdf .
 Try to use Open Document Format : http://el.libreoffice.org
 Save you money and use GNU/Linux Distro http://distrowatch.com/
 --
 First they ignore you, then they ridicule you, then they fight you,then you 
 win!!!
-- next part --
An HTML attachment was scrubbed...
URL: 
https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/7ca1a858/attachment.html
-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Marios Zindilis

Στο /etc/hosts θα προσθέσεις κάτι σαν:

10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house

Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα εξυπηρετεί ο 
συγκεκριμένος εξυπηρετητής.


On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:

*Οχι*.
Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
βλέπει τα Virual Hosts?
host file = /etc/hosts ?
Στα Windows?

2011/7/26 Alexius Dionysius Diakogiannisalexius.dionys...@diakogiannis.com






Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?

Sent From iPhone

Alexius Dionysius Diakogiannis


Think Before You Print This Email

26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulostpanagio...@gmail.com
έγραψε:


Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ

τα

δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
server δεν μπορώ να τα δώ από κανένα client του δικτύου.
Μήπως δεν υπάρχει αυτή η δυνατότητα?
Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?

- Οι βασικές ρυθμίσεις που έκανα


   1. *cd /etc/apache2/sites-available*
   2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*

and

   enter VirtualHost directive.
   VirtualHost *:80
 ServerName myvirtualhost.localhttp://yourdomain.com/
 DocumentRoot /var/www/myvirtualhost
   /VirtualHost
   Save  exit.
   3. *sudo vim /etc/hosts* and add new domain so it looks like this:
   4. *127.0.0.1 localhost
   10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*

   Save  exit.
   5. Enable your new virtualhost:
   *sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
   6. Reload the Apache configuration:
   sudo /etc/init.d/apache2 reload



--
Παναγιώτης Θεοδωρόπουλος
Panagiotis Theodoropoulos
tpanagio...@gmail.com
-- next part --
An HTML attachment was scrubbed...
URL:

https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html


--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr

mailing list, please follow this link and choose unsubscribe:

https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr









--
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Alexius Dionysius Diakogiannis


Sent From iPhone
Και οι υπόλοιποι υπολογιστές στο δίκτυο αν τον καλεί με hostname που θα ξέρουν 
ποιος είναι;

Think Before You Print This Email

26 Ιουλ 2011, 17:46, ο/η Marios Zindilis mar...@zindilis.com έγραψε:

 Στο /etc/hosts θα προσθέσεις κάτι σαν:
 
 10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house
 
 Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα εξυπηρετεί ο 
 συγκεκριμένος εξυπηρετητής.
 
 On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:
 *Οχι*.
 Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
 βλέπει τα Virual Hosts?
 host file = /etc/hosts ?
 Στα Windows?
 
 2011/7/26 Alexius Dionysius Diakogiannisalexius.dionys...@diakogiannis.com
 
 
 
 Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host file?
 
 Sent From iPhone
 
 Alexius Dionysius Diakogiannis
 
 
 Think Before You Print This Email
 
 26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulostpanagio...@gmail.com
 έγραψε:
 
 Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
 10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
 Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι ενώ
 τα
 δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο τον
 server δεν μπορώ να τα δώ από κανένα client του δικτύου.
 Μήπως δεν υπάρχει αυτή η δυνατότητα?
 Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
 - Οι βασικές ρυθμίσεις που έκανα
 
 
   1. *cd /etc/apache2/sites-available*
   2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*
 and
   enter VirtualHost directive.
   VirtualHost *:80
 ServerName myvirtualhost.localhttp://yourdomain.com/
 DocumentRoot /var/www/myvirtualhost
   /VirtualHost
   Save  exit.
   3. *sudo vim /etc/hosts* and add new domain so it looks like this:
   4. *127.0.0.1 localhost
   10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*
 
   Save  exit.
   5. Enable your new virtualhost:
   *sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
   6. Reload the Apache configuration:
   sudo /etc/init.d/apache2 reload
 
 
 
 --
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 
 
 -- 
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr mailing 
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Panagiotis Theodoropoulos
Ευχαριστώ για τις απαντήσεις.
Η λύση που έδωσα ήταν να δηλώσω τα Virtual hosts στο file hosts του client,
γιατί σε κάθε περίπτωση ήταν για τεστ και δεν έχω την δυνατότητα τοπικού
DNS, καθόσον όλα γίνονται κάτω από εταιρικό δίκτυο.

Χαιρετισμούς

2011/7/26 Alexius Dionysius Diakogiannis alexius.dionys...@diakogiannis.com




 Sent From iPhone
 Και οι υπόλοιποι υπολογιστές στο δίκτυο αν τον καλεί με hostname που θα
 ξέρουν ποιος είναι;

 Think Before You Print This Email

 26 Ιουλ 2011, 17:46, ο/η Marios Zindilis mar...@zindilis.com έγραψε:

  Στο /etc/hosts θα προσθέσεις κάτι σαν:
 
  10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house
 
  Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα εξυπηρετεί ο
 συγκεκριμένος εξυπηρετητής.
 
  On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:
  *Οχι*.
  Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
  βλέπει τα Virual Hosts?
  host file = /etc/hosts ?
  Στα Windows?
 
  2011/7/26 Alexius Dionysius Diakogiannis
 alexius.dionys...@diakogiannis.com
 
 
 
  Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host
 file?
 
  Sent From iPhone
 
  Alexius Dionysius Diakogiannis
 
 
  Think Before You Print This Email
 
  26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos
 tpanagio...@gmail.com
  έγραψε:
 
  Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
  10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
  Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι
 ενώ
  τα
  δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο
 τον
  server δεν μπορώ να τα δώ από κανένα client του δικτύου.
  Μήπως δεν υπάρχει αυτή η δυνατότητα?
  Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
  - Οι βασικές ρυθμίσεις που έκανα
 
 
1. *cd /etc/apache2/sites-available*
2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*
  and
enter VirtualHost directive.
VirtualHost *:80
  ServerName myvirtualhost.localhttp://yourdomain.com/
  DocumentRoot /var/www/myvirtualhost
/VirtualHost
Save  exit.
3. *sudo vim /etc/hosts* and add new domain so it looks like this:
4. *127.0.0.1 localhost
10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*
 
Save  exit.
5. Enable your new virtualhost:
*sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
6. Reload the Apache configuration:
sudo /etc/init.d/apache2 reload
 
 
 
  --
  Παναγιώτης Θεοδωρόπουλος
  Panagiotis Theodoropoulos
  tpanagio...@gmail.com
  -- next part --
  An HTML attachment was scrubbed...
  URL:
 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 
  --
  Ubuntu-gr mailing list
  Ubuntu-gr@lists.ubuntu.com
 
  If you do not want to receive any more messages from the ubuntu-gr
  mailing list, please follow this link and choose unsubscribe:
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 
 
  --
  Ubuntu-gr mailing list
  Ubuntu-gr@lists.ubuntu.com
 
  If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com

 If you do not want to receive any more messages from the ubuntu-gr mailing
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr




-- 
Παναγιώτης Θεοδωρόπουλος
Panagiotis Theodoropoulos
tpanagio...@gmail.com
-- next part --
An HTML attachment was scrubbed...
URL: 
https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4a46222c/attachment.html
-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Konstantinos Zigourakis
Και αν θέλαμε να το κάνουμε με dns τι διαδικασία θα ακολουθουσαμε;

Μπορεί κάποιος να κάνει ένα tutorial για το στήσιμο ενός intranet με virtual 
host apache με την υποστήριξη ενός dns.

Από το iPhone μου

26 Ιουλ 2011, 19:23, ο/η Panagiotis Theodoropoulos tpanagio...@gmail.com 
έγραψε:

 Ευχαριστώ για τις απαντήσεις.
 Η λύση που έδωσα ήταν να δηλώσω τα Virtual hosts στο file hosts του client,
 γιατί σε κάθε περίπτωση ήταν για τεστ και δεν έχω την δυνατότητα τοπικού
 DNS, καθόσον όλα γίνονται κάτω από εταιρικό δίκτυο.
 
 Χαιρετισμούς
 
 2011/7/26 Alexius Dionysius Diakogiannis alexius.dionys...@diakogiannis.com
 
 
 
 
 Sent From iPhone
 Και οι υπόλοιποι υπολογιστές στο δίκτυο αν τον καλεί με hostname που θα
 ξέρουν ποιος είναι;
 
 Think Before You Print This Email
 
 26 Ιουλ 2011, 17:46, ο/η Marios Zindilis mar...@zindilis.com έγραψε:
 
 Στο /etc/hosts θα προσθέσεις κάτι σαν:
 
 10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house
 
 Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα εξυπηρετεί ο
 συγκεκριμένος εξυπηρετητής.
 
 On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:
 *Οχι*.
 Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
 βλέπει τα Virual Hosts?
 host file = /etc/hosts ?
 Στα Windows?
 
 2011/7/26 Alexius Dionysius Diakogiannis
 alexius.dionys...@diakogiannis.com
 
 
 
 Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host
 file?
 
 Sent From iPhone
 
 Alexius Dionysius Diakogiannis
 
 
 Think Before You Print This Email
 
 26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 έγραψε:
 
 Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
 10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
 Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι
 ενώ
 τα
 δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο
 τον
 server δεν μπορώ να τα δώ από κανένα client του δικτύου.
 Μήπως δεν υπάρχει αυτή η δυνατότητα?
 Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?
 
 - Οι βασικές ρυθμίσεις που έκανα
 
 
  1. *cd /etc/apache2/sites-available*
  2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*
 and
  enter VirtualHost directive.
  VirtualHost *:80
ServerName myvirtualhost.localhttp://yourdomain.com/
DocumentRoot /var/www/myvirtualhost
  /VirtualHost
  Save  exit.
  3. *sudo vim /etc/hosts* and add new domain so it looks like this:
  4. *127.0.0.1 localhost
  10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*
 
  Save  exit.
  5. Enable your new virtualhost:
  *sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
  6. Reload the Apache configuration:
  sudo /etc/init.d/apache2 reload
 
 
 
 --
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html
 
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 
 
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr mailing
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
 
 
 
 
 -- 
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4a46222c/attachment.html
 -- 
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com
 
 If you do not want to receive any more messages from the ubuntu-gr mailing 
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr


Re: Ubuntu Server - Apache2 Virtual Hosts in Intranet

2011-07-26 ϑεμα Alexius Dionysius Diakogiannis
howtoforge.com

The perfect server ubuntu 10.04

Alexius Dionysius Diakogiannis


2011/7/26 Konstantinos Zigourakis breeze...@gmail.com:
 Και αν θέλαμε να το κάνουμε με dns τι διαδικασία θα ακολουθουσαμε;

 Μπορεί κάποιος να κάνει ένα tutorial για το στήσιμο ενός intranet με virtual 
 host apache με την υποστήριξη ενός dns.

 Από το iPhone μου

 26 Ιουλ 2011, 19:23, ο/η Panagiotis Theodoropoulos tpanagio...@gmail.com 
 έγραψε:

 Ευχαριστώ για τις απαντήσεις.
 Η λύση που έδωσα ήταν να δηλώσω τα Virtual hosts στο file hosts του client,
 γιατί σε κάθε περίπτωση ήταν για τεστ και δεν έχω την δυνατότητα τοπικού
 DNS, καθόσον όλα γίνονται κάτω από εταιρικό δίκτυο.

 Χαιρετισμούς

 2011/7/26 Alexius Dionysius Diakogiannis alexius.dionys...@diakogiannis.com




 Sent From iPhone
 Και οι υπόλοιποι υπολογιστές στο δίκτυο αν τον καλεί με hostname που θα
 ξέρουν ποιος είναι;

 Think Before You Print This Email

 26 Ιουλ 2011, 17:46, ο/η Marios Zindilis mar...@zindilis.com έγραψε:

 Στο /etc/hosts θα προσθέσεις κάτι σαν:

 10.11.21.198 mydomain.local myseconddomain.local myvirtualhost.house

 Δηλαδή την IP και μετά μια λίστα με τα ονόματα τομέα που θα εξυπηρετεί ο
 συγκεκριμένος εξυπηρετητής.

 On 07/26/2011 04:45 PM, Panagiotis Theodoropoulos wrote:
 *Οχι*.
 Στο intranet χρειάζεται οι ρυθμίσεις και στο host του κάθε client που θα
 βλέπει τα Virual Hosts?
 host file = /etc/hosts ?
 Στα Windows?

 2011/7/26 Alexius Dionysius Diakogiannis
 alexius.dionys...@diakogiannis.com



 Στο pc που πας να τα δεις Έχεις κάνει αντίστοιχες ρυθμίσεις στο host
 file?

 Sent From iPhone

 Alexius Dionysius Diakogiannis


 Think Before You Print This Email

 26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 έγραψε:

 Σε Ubuntu Server που τρέχει σε Intranet δίκτυο και έχει την static ip
 10.11.21.198 θέλω στον Apache2 να δημιουργήσω Virual Hosts.
 Διάβασα πάρα πολλά σχετικά με το θέμα και το πρόβλημά μου είναι ότι
 ενώ
 τα
 δημιουργώ σύμφωνα με τις οδηγίες και τα βλέπω (browser) από τον ίδιο
 τον
 server δεν μπορώ να τα δώ από κανένα client του δικτύου.
 Μήπως δεν υπάρχει αυτή η δυνατότητα?
 Χρειάζεται να κάνω κάποιες επιπλέον ρυθμίσεις?

 - Οι βασικές ρυθμίσεις που έκανα


  1. *cd /etc/apache2/sites-available*
  2. *sudo vim **myvirtualhost.localhttp://yourdomain.com/**.conf*
 and
  enter VirtualHost directive.
  VirtualHost *:80
    ServerName myvirtualhost.localhttp://yourdomain.com/
    DocumentRoot /var/www/myvirtualhost
  /VirtualHost
  Save  exit.
  3. *sudo vim /etc/hosts* and add new domain so it looks like this:
  4. *127.0.0.1 localhost
  10.11.21.198 myvirtualhost.localhttp://yourdomain.com/*

  Save  exit.
  5. Enable your new virtualhost:
  *sudo a2ensite myvirtualhost.localhttp://yourdomain.com/.conf*
  6. Reload the Apache configuration:
  sudo /etc/init.d/apache2 reload



 --
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL:

 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html

 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com

 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr






 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com

 If you do not want to receive any more messages from the ubuntu-gr
 mailing list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com

 If you do not want to receive any more messages from the ubuntu-gr mailing
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr




 --
 Παναγιώτης Θεοδωρόπουλος
 Panagiotis Theodoropoulos
 tpanagio...@gmail.com
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4a46222c/attachment.html
 --
 Ubuntu-gr mailing list
 Ubuntu-gr@lists.ubuntu.com

 If you do not want to receive any more messages from the ubuntu-gr mailing 
 list, please follow this link and choose unsubscribe:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

-- 
Ubuntu-gr mailing list
Ubuntu-gr@lists.ubuntu.com

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr