Ubuntu Servers :: Multiple Apache Sites With Dyndns
Jul 5, 2010
how is it possible to serve multiple sites hosted in my computer with apache through dyndns.I am using ubuntu 10.04 and i had setup a dyndns domain as of mydomain.homelinux.org/127.0.1.1 medic. Now when i go to mydomain. homelinux.org outside of my lan i see the default site of apache.
I do not know a lot about Ubuntu Servers, but I made one. I wanted to set up a web server using Apache and DynDNS. So far, I have created an account on dyndns.com and installed apache. I also installed another program (i dont remember the name) that had something to do with DynDNS. Right now, I can access the page on my server by using eLinks (text based web browser) and going to the address (myaddress.dyndns.org). If I try to access it from any other computer, I get a page that says 'Unable to Connect'.
What I want to do now is make nicmatthew.co.cc point to /var/www/nicmatthew/html and make rielworld.co.cc point to /var/www/jimriel/html. I have created the apache vHosts nicmatthew.co.cc and rielworld.co.cc containing this:
So now I would like to know how to make rielworld.co.cc and nicmatthew.co.cc point to the correct places. Do I somehow set up nameservers? Do I make an A record?
Recently I've been earning money doing web development, php, html/css, MySQL and so on. What I have encountered a lot are clients that need a complete solution. They need their site built, but they also need a hosting solution. I've sent more than just a few clients off to GoDaddy, and quite frankly, I'd like to cash in on some of that.
It would do wonders for my business if I could offer them a hosting solution with full support on top of building their site. My problem is I have no idea how to do this. So I'd like to know how I can host multiple sites on the same server. Does anyone know of a nice guide I can follow to set this up? It's really important that I can add sites fairly easily over the internet. Since I will be away at school, I won't have direct access to the server
I have some problem in apache2 configuration. I have two websites on same IP on LAN.i.e. 192.168.1.5
[Code]...
What should I check in a few blogs I checked they said to mention in [URL]...But in this case what should I put I have two different websites or what other thing I have missed? I do not have access to DNS so that on LAN I can point site1.abc.com and abc.com to same IP 192.168.1.5 which to me seems could resolve the issue.
I read that since httpd 2.2.12 (I run 2.2.15), it is now possible to run multiple SSL certs on multiple vhosts on one ip. I didn't find a procedure to do it. Do you know how to?
I have several sites running on a local server. Currently, they're all running on port 80. I need one particular site (and ONLY that site) to also accept connections on port 81.
If I browse to the server IP x.x.x.x:80 directly, Apache's behaviour of showing the default site should work as usual. But, if I browse to IP x.x.x.x:81, it should show a different site (the one that should be accepting both :80 and :81). This part is very important.
I was hoping something like the following would work, but it didn't Currently x.x.x.x:81 still shows what I've called myport80defaultsite.com below.
I have a server that host's several sites, recently I had to create a new server because the old one isn't good enough for me. Ive installed apache2 on the new server and moved all the files from one server to the other. I'm making tests in my local lan so I've edited my computer's hosts file to point to the name of each site to the local ip of the new server:
how one professionaly would solve the security and administration for the multiple webadmins, but firstly I give some general information.I spent 2 days searching and there are alot of good guides but I dont see my specific questions answered, not so I can understand them atleast.I have Ubuntu 10.10 64bit server edition installed.I am educating myself and am new to linux but use vmware and have installed Gentoo multiple times and a copy of Ubuntu server. This server is going to be setup on the 64-bit 10.10 Ubuntu virtual machine.
I have setup a web server, ftp, ssh with ubuntu server which is working with phpmyadmin and webmin installed with it as well. (I am considering upgrading to 10.04LTS when it comes out)
However I cant get to my website with the domain name that I am using from dyndns. From on my LAN I can get to my server but using it ip address (10.10.0.200) and it work fine with ssh and ftp as well. But when I try my public address or my name it does not work. I am using IE8 as I am using a windows machine. Out side the network the domain name wont work at all, but I tried my public address and everything worked perfectly.
I have recently installed ddclient to see if had made any difference but no luck. But I am keeping it there as it is working and updating my ip address.
How should I set up my webserver when using dyndns?My server lives behind a private router, and I opened a nonstandard port for it (xxx.dyndns.org:6789)I need to be able to access the webserver both from behind the router, and from outside. But espescially wordpress needs to have a defined specific site-url for each site, which I can not get working both inside and outside the router. Inside I now just just the local ip-number, which works ok. To access the server from outside, I have to redefine the site-url to "xxx.dyndns.org:6789", but then it is not accessible from behind the router.
I have an Ubuntu Server, a dyndns account and an account with [URL]. My DynDns stuff is all working just great - novo.dyndns.tv is the address. Now I need a domain which I have already bought, to be linked to that machine at [URL] I signed up with freedns.afraid.org and now I am a bit confused at what records to add where. I added a domain - [URL] then setup a webforward as follows: redirect from [URL] and redirect from[URL] to [URL] , however if you go and visit:[URL] you will see my problem! It takes you back to [URL] server and says there is not a webforward setup for [URL]This tells us that the nameservers are all setup fine - and its something in my freedns config which is failing.
With hardy, I was able to have multiple SSL sites on the one machine. But I can't seem to get it to work for ubuntu 9.10, I've read that you need to put each SSL site on a different IP. But I was able to do it with hardy without different IP's.
A week ago or so neither ssh nor scp were working when attempting to connect to my on-campus computer from home. ssh was complainig about the key not matching and I figured out I could just delete the config file it was reading the (now old) key from and let it create a new one with the updated key upon prompting me whether or not to trust the remote host.
However, even though ssh is now working, I can no longer use scp. I issued scp -v and discovered a bunch of errors. scp prompts me for the remote password and even prints the message of the day on the remote computer but then just hangs and doesn't seem to be copying any files. I'm sure the issue is with the whole key change issue but I can't quite figure out why ssh would be working just fine and scp would be failing.
I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)
I was just wondering what the best approach is to allow mobile device sites on my web server is?Its an apache 2 server running on Centos and I am just very curious as to how to best present a site just in standard output for a mobile site, ie no server side programming or scripts (but would like to do some eventually).I actually have someone asking for someone on his development team and would love to be that person with that attribute lol.
I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.
Webmin running two websites from one server, i've made a second virtual server for my second site including its own document root with it's own index.html file ,but for some odd reason they both run the same site. And i use a Static ip address.
In the past week or so I've noticed some weird network behaviour. I find accessing some sites such as Amazon, Paypal, and Bigstockphoto really slow. Sometimes the page will not load at all. Other sites are fine. The problem sites are not a problem for others on my LAN at home. When I try to open the problem sites, I can see in Firestarter blocked connections coming from 2.1(8/9).xxx.xxx on various ports such as 36007. This only happens for the problem sites. I attached a typical output from firestarter.
This happens with Firfeox or Chrome. Using Ubuntu 10.10
So I am trying to add some sites to my server, right now I have an active site at www2.site.tld. As a test, I copied [URL]to [URL], and changed only the line
ServerName www2.site.tld
to
ServerName what.site.tld
as well as renaming the lines for the log files appropriately then
which by everything I have read should result in what.site.tld being identical to www.site.tld. Instead, it flat-out does not resolve. Apache does create some blank log files in /var/www/
I installed Apache2 and I added a second virtual host, now can i separate the 2 hosts and let them access 2 different internal test sites? For Example lets say"
User1 uses one IP User2 uses second IP
How can I separate it in Apache2 and in the /var/www ?
This morning I found none of the sites were responding. The server itself sounded like it was thrashing the hard drive.
It wasnt responding to the FTP client or SSH connections. Web pages just sat there like they were loading very slowly but never actually loaded.
How can I find out what went wrong. I dont have a massive amount of experience with linux, particularly the server variant.
Its worried me a little that the drupal report shows several page not found errors like someone (a bot maybe) was trying to see what php setup files they could access.
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails * Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.