0
votes
1answer
91 views

Apache - server not resolving by /etc/hosts if I have not internet connection

I have configured many virtualhosts in my current apache2 server, in my local machine (Ubuntu 13.10). Those are different local sites, with domains which are set in my /etc/hosts: 127.0.0.1 ...
0
votes
0answers
18 views

Use of /etc/hosts file v/s apache's default file [duplicate]

I have a domain name that I am testing locally (say www.xyz.com). In my apache's default file, I have the block : <VirtualHost *:80 *:8080> ServerName www.xyz.com ...
0
votes
1answer
40 views

Why isn't apache satisfied with the first entry in /etc/hosts?

I have /etc/apache2 Mutex file:${APACHE_LOCK_DIR} default PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ...
0
votes
0answers
19 views

Suddenly localhost or (127.0.0.1) not pointing to /var/www [duplicate]

I think it is after installation of tomcat, My localhost showing empty directory on browser and localhost/AnyProject showing "NOT FOUND". And Localhost:8080 properly showing tomcat index page.
2
votes
0answers
1k views

VirtualHost In Localhost Is Not Accessible From Localhost When Offline, How To Fix It?

I am setting up my own local development web server, mainly for theme development. I've successfully setup LAMP in Ubuntu 13.04 64bit Desktop, apache works fine. The machine where LAMP is installed ...
1
vote
1answer
64 views

Hosted website unavailable after uninstalling local copy

I attempted to install my hosted Wordpress site on my 12.04 desktop following the Ubuntu Lamp guide, then after being unable to get it running properly attempted to uninstall it using suggestions in ...
0
votes
1answer
253 views

How to define specific urls like 'localhost'?

The same way 'localhost' in the url points to /var/www/ I would like to put http://courses/somehting/somthing/moresomthings/.... and it would always point to /var/www/courses.php This is to work on ...
5
votes
1answer
385 views

How would I broadcast a subdomain/virtual name on a local server with people connected to the same network

I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this: /var/www -- this isnt the root -/libs -/logs ...
8
votes
2answers
6k views

How do I properly set up and secure a production LAMP Server?

It's very hard to find comprehensive information on this subject. Either I found short tutorials on how you perform the installation, as simple as "apt-get install apache2", or outdated tutorials. So ...
4
votes
2answers
13k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...