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

Sent From iPhone

Alexius Dionysius Diakogiannis


Think Before You Print This Email

26 Ιουλ 2011, 15:51, ο/η Panagiotis Theodoropoulos <[email protected]> 
έγραψε:

> Σε 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
> <[email protected]>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20110726/4b6698a0/attachment.html>
> -- 
> Ubuntu-gr mailing list
> [email protected]
> 
> 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
[email protected]

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

Απαντηση