Ubuntu Servers :: Enable DNS To Manage Subdomains On Main Host?
Feb 12, 2011
I have a server with multiple domains and a DNS service (bind9) my main domain is registered with GoDaddy and it's A-record points to my server, it then has CNAME records with ns1 and ns2. I use ns1 and ns2 to point my other domains to the DNS server I host, which then manages what happens.
Anyway, what I would like to do is enable the DNS server to manage the subdomains on my main host. For example, if the domain was example.com and I use admin.example.com in the DNS server, it will not follow through unless I set the cname up, whereas my others will. How do I do a similar thing for my main domain.
ok how do you add a rule which allows a virtual machine to connectto ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure
you add a rule which allows a virtual machine to connect to ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure
I'm looking for an effective way to manage use of internet bandwidth by users on a local area network. Currently there is a simple broadband router and unmanaged switch, and a standalone Ubuntu Server (8.04) that provides DHCP, DNS and mail for the LAN, and a web server. Ports are forwarded from a static external IP address to HTTP, HTTPS, SMTP, SSH and IMAPS, and some security is provided by IP Tables (managed by using UFW).
There are 5 users on the network, and currently one or two of those 5 are using beyond our monthly download allowance of 30Gb. 1) To be aware of how many users are currently using the internet connection, and to divide the bandwidth between that number (so that if there are, say, 3 active connections, the total bandwidth available is divided 3 ways, rather than one of those users being able to hog all of it).
2) To allow each user to download up to 1/5 of 30Gb each month without any additional throttling (apart from the above), but once they go over that allowance to throttle them individually to, say, 10Kbps until the start of the new month.
I've heard other threads talking about both IP Tables and a proxy server such as Squid. I have no idea which of these would be most suited to the task. Currently, as I said, the Ubuntu server is standalone and only using 1 NIC, but it has 2 NICs and I could be configured to act as a gateway for the LAN, instead of the router, which is set to be the current default gateway.
I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?
Currently I am doing the following: Code: sudo mkdir -p {name of domain}/{public,private, etc...} sudo usermod -g www-data {my user name} sudo chown -R www-data:www-data /var/www/{directory for the domain} sudo chmod -R 775 {folder path I need to change}
This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.
I have a server on my home network. It's currently running a DNS server (bind9) and an HTTP caching server (squid).What I would like to do is redirect all outgoing port 80 connections to the squid server and also make the server responsible for managing DHCP on the network.
Do I just need to install a DHCP daemon on the server, disable it on the router, then set my server as the default gateway and configure iptables to route all connections like I want? Or is it more complicated than that? Also, would that mean that all communication between two computers on the network will go through the server?
I need a tool that will enable me to manage files and other operations from another computer, access to my server. VPS and other host they usually provide cpanel and other webadmin app to do that.
I need advices on the followings:
1. FTP, allow me to access to my folder, like a web host 2. Access to config the server settings 3. Probably a GUI similar to cpanel
We are looking for a web based, server application to manage staff skills running on ubuntu (10.04 lts). Something like we attach tags with skills to people photographs, and then when people connect to the application by means of a browser, they see a list of tags, they click on a tag they get a list of people who have that skill. Ideally, the tags should be hierarchical (for example, skill: statistics, subskill: non-linear).
So i have a fresh install of the server edition of Karmic, i'm running the Xfce desktop. When I attempt to manage users and groups through the GUI, I am prompted for what I think is the root password, the reason I say this is because the account I am currently logged in has sudo privileges and it does not accept that password at all, but I read that by default the root account is 'locked,' (to be honest it was so long ago since I last installed Ubuntu I completely forgot if it is or isn't, my current desktop installation has su access) is it asking for the root password? why doesn't my current user account password work if the root account is 'locked'? I can perform all other administrative tasks with sudo no problem.
the funny thing is, I have the exact same setup in a virtual machine, the same problem happens, except for some strange reason after changing the password on the only account (besides root), the password required to administer users and groups stayed the same after the change. (at the time of installation I just put both the user and root password the same and now that it is setup), i'm now ready to change the passwords. except now I read that the root account is locked by default, but this strange problem occurs.
I need to allow ICMP ping for one host only. I found out how to enable it to all hosts (ICMP Filtering, check ping) but I would like to reduce the scope to one host. I know I can add rules in the user_post script but I can't find the correct iptables command ...
I've got an old p3 with 11 ide hard drives strapped to it for storage and I decided to throw Ubuntu server on it because it's more lightweight than a standard ubuntu install, and given it's a pentium 3 with 128mb of ram, lightweight is good. I installed, through putty (ssh), the gnome gui - then learned that putty only does cli (i was thrilled), so I've spend the last hour trying to figure out how to enable remote desktop.
I don't mind reinstalling to do what is necessary. remote desktop to manage file downloads from my windows 7 machine(s) big list, i know. history: this thing is/was my media server. I had xp on it, sharing all drives and watching hd movies off it, but then xp decided it did't want to boot anymore so here we are. I'm thinking of just putting ubuntu 8.04/8.10 on it and through its wonderful gui enabling remote desktop and using realvnc/tightvnc to access it
I am going to build a Linux VPN server(PPTP) for my friend but here is the problem: He don't know Linux and command line to manage users, monitor server, etc
I'm installing a 10.04 server remotely - it's basically an RSYNC host for backups. I've got one minor issue - it's really more of an annoyance, but I would like to have it solved.When sending e-mails, the messages come in addressed to three destinations - when it's only supposed to be sent to one. What's worse is that the two additional addresses are based on the hostname of the machine.Let me explain: I use this command:Code:mail -s Testing email@somedomain.comI then compose the e-mail and send it. The mail arrive a few seconds later but addresed to the following:Code:from@hostname.domain.com;email@somedomain.com;hostname@hostname.domain.comThe "from@hostname.domain.com" has the actual word "from" in the address. I've installed many, many servers like this in the past and this is the first time that anything wonky with email has happened that I couldn't fix or explain. The machine is running postfix and I installed the bsd-mailx package to get the command line "mail" command (I used to install "mailx", but this seems to work just like the old package).
I have a ubuntu server running on a ten year old desktop and it runs great but i cant seem to change the video out put away from the normal anolog port to a TY port.My server is just for home use and I do not know the terminalThe reason I need to move to the other port is I do not have a screen for it but I do have a little old TV that will work.
Is anybody aware of an app to "manage" your craigslist account? By manage I mean delete and repost ads every 3 days, auto fill captcha or pop it up for you to fill, etc. The craigslist website is awkward, slow, pathetic, and just a plain annoying waste of time but I've never as successfully gotten rid of the junk around my house with other websites...
So now that it's working the Server can't be seen from the internet. I see that the router changed all the ip address so I changed the fort port forwarding on the router and still not working. And the external ip address has not changed.
i was looking for a way to find out all subdomains of a domain and i have found dig.But it doesn't seam to work how i sow in those tutorials.this is what i get:
PHP Code:[code]....
Is there other way that i can find out all subdomains of a domain?
I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and toystory.movie.edu. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at coupon.movie.edu. This kind of worked but not completely. Interestingly, I can get to both toystory.movie.edu and coupon.movie.edu on my server, but on my PC, I can only get to toystory.movie.edu, not coupon.movie.edu.
Here is my db.movie.edu: Code: $TTL 3h movie.edu. IN SOA toystory.movie.edu. al.movie.edu. ( 1 ; Serial 3h ; Refresh after 3 hours 1h ; Retry after 1 hour 1w ; Expire after 1 week 1h ) ; Negative caching TTL of 1 hour
movie.edu. IN NS toystory.movie.edu. movie.edu. IN NS coupon.movie.edu. ; ; Host addresses ; localhost.movie.edu. IN A 127.0.0.1 toystory.movie.edu. IN A 192.168.140.25 coupon.movie.edu. IN A 192.168.140.25
And here is my named.conf: Code: options { directory "/etc/bind"; };
zone "movie.edu" in { type master; file "db.movie.edu"; };
zone "140.168.192.in-addr.arpa" in { type master; file "db.192.168.140"; };
zone "0.0.127.in-addr.arpa" in { type master; file "db.127.0.0"; };
zone "." in { type hint; file "db.cache"; };
#include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; #include "/etc/bind/named.conf.default-zones";
I'm doing development on a site, let's call it mysite.com. mysite.com and www.mysite.com works fine, but proxy.mysite.com and dev.mysite.com point to the LAMP stack running on my computer. Pinging mysite.com gives me:
Code: 64 bytes from server.myhost.com (64.64.0.102): icmp_req=1 ttl=47 time=47.4 ms Whereas dev.mysite.com gives me: Code: 64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.031 ms Subdomains of any other site work fine. I am absolutely baffled. What in the world could be causing this? I haven't been messing around in /etc/hosts or anything like that.
I have set up a dedicated server running Ubuntu Server Edition. I have apache2 installed and running great. I wish to let friends and family host their individiual websites on it, but I'm running into a bit of a dillema. It seems that my server automatically redirects them to my home page and not theirs.
I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
I am trying to add subdomains on ubuntu 9.10 desktop edition and and I am not sure whether I need to add some info.(such as 127.0.0.1 sub1.example.com and so on) to the /etc/hosts file like the windows' windows/system32/drivers/etc/hosts file. I used to use the wamp-server(on Windows 7), I needed to edit 3 files, httpd.conf, httpd-vhosts.conf and hosts. And almost every edit is made in the httpd-vhosts.conf file on wamp-serveriles should be edited? or what else should be done that I didn't mention?
I am quite interested in one thing. I am trying to code my dns server that when I connect to one of my subdomains it connects not only to an ip address but to an ip : port address. For this I tried using SRV record, but with lack of success.
Dns server specification: OS Ubuntu server 10.10 and using bind9 I have configured everything so that my subdomains work on an ip address, but I need some of them to work on ip : port too. In my brfconcept.lv.db file i used: (what I mentioned below isn't the full content of the file)
Code: _http._udp IN SRV 0 5 27017 testing.brfconcept.lv testing IN A 83.99.211.134 in my rev.0.168.192.in-addr.arpa i used: (what I mentioned below isn't the full content of the file) Code: 134 IN PTR testing.brfconcept.lv
What I would want is not just for 1 service to aim at at the 27017 port but all services if its possible, when you enter testing.brfconcept.lv Is that possible and what am I doing wrong?
I upgraded from Fedora 10 to Fedora 11, and it seems that when I saved my main.cf file, something changed in the versions and it no longer works. I've tried going through the file and tweaking it, but it's not working. Here is the postconf
Internet <-> [public IP] Router [192.168.x.x] <-> Local Local <-> DMZ Local <-> HostB Local <-> HostC
I have a system set up as a DMZ which works great for accessing SSH and other various services. I have a dyndns account that points to my public IP and allows me to access my DMZ box from around the world. I would like to make a subdomain of my current dyndns account and point it to HostB so that it can host a webserver on it, and have another subdomain point to HostC with a separate webserver on it. each would have SSH, FTP, Etc and have to not conflict with one another behind one IP. I don't even know if it is possible, but it seems like if there is a request for dev.host.homelinux.com that packet would have to hit [URL]and could be iptable'd to be routed to the appropriate local machine somehow.
I ordered my VPS but my domain name that I registered my VPS with is with another host. So obviously I have to update the nameserver options there. How can i find out what my nameserver settings on my vps? I'm using webmin.
I came across this great open-source script called EyeOS [url] a few months ago and found a free hosting provider to go with it.
After playing around on the demo setup, I spent quite a bit of time figuring out how to get it set up on a hosting provider via FTP. Once that was set up, things ran smoothly for a few weeks until one day I logged into my user CP and saw a notice that they were shutting down and selling their server to a new adult video site and that all sites would be deleted in like 72 hours. I could never find another hosting provider that could give me the space I needed without ads for free, so I had this crazy idea of hosting it myself.
I have an older box with Lucid Desktop Edition that would be great for a server (I mainly use my laptop anyway), but there are a few problems: I have very little experience with Linux (although I'm great w/ Windows). I need Apache and PHP but I have no idea how to install them (and make them work together) and where to put the files to "serve." Knowing some administrative commands .
My ISP blocks incoming connections on port 80. I need help deciding on an alternative port besides the blaringly obvious port 8080 that won't conflict with anything important. I'll most likely link to it from our homepage on Google Sites (with a free .tk domain) so it doesn't need to be easy to remember.