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: Setting apache on my server.
Author
Unknownfactor



Joined: 21 Feb 2015
Posts: 1
Location: Slovenia

PostPosted: Sat 21 Feb '15 21:12    Post subject: Setting apache on my server. Reply with quote

Hello! Im just trying to undrstand what im doin wrong when i try to set up a second server with LAMP.
I already have a working server with LAMP but i didnt set that one up. Now im trying to add aditional machine and im tryin to figure out what else do i have to do so the machine will work as virtual server for my webpage(s).

Like i said, on a new server i already instaled Lamp, forworded ports 80, 22, 442 ....to correct LAN IP, and added an entry under apache2 sites-available like this:

"<VirtualHost *:80>
ServerName test.com
ServerAlias www.test.com
ServerAdmin info@test.com
DocumentRoot /media/BigBoy/www/test
ErrorLog ${APACHE_LOG_DIR}/test_error.log
CustomLog ${APACHE_LOG_DIR}/test_access.log combined
</VirtualHost>
"

Than i connected a new domain to my main IP but it automaticly connects to the old server that is already running in my home network. So the question is what do i have to do, for my new server to run the webpages i want to? Do i have to add a specific command on old server or something else i forgot? Please help.
Back to top
James Blond
Moderator


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

PostPosted: Wed 20 May '15 10:58    Post subject: Reply with quote

DNS often takes up to 48 hours until it works.
Back to top


Reply to topic   Topic: Setting apache on my server. View previous topic :: View next topic
Post new topic   Forum Index -> Apache