Debian :: Create SubDomains Using Terminal?
Aug 18, 2011
I am not using cpanel or anything, just SSH PuTTY client. my domain is [URL]now I want to craete a sub domain i.e [URL] , how will I create this ? so I can upload files to the sub domain
View 1 Replies
ADVERTISEMENT
May 4, 2009
Here is my network setup:
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.
View 2 Replies
View Related
Feb 21, 2010
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?
View 1 Replies
View Related
Sep 16, 2010
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";
View 2 Replies
View Related
Mar 31, 2011
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.
View 3 Replies
View Related
Oct 20, 2010
just wanted to know how to add subdomains, how to add users to those subdomains to send and receive mail in fedora 13.
View 3 Replies
View Related
Sep 16, 2010
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 [URL]. 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 [URL].
This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. 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
[code]....
View 1 Replies
View Related
Jan 20, 2010
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.
[code].....
View 4 Replies
View Related
Feb 29, 2016
I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?
View 4 Replies
View Related
Jan 24, 2011
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies
View Related
Feb 16, 2010
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?
View 1 Replies
View Related
May 16, 2009
I run my own DNS servers and host my own domains. I'd like to host a few subdomains of one of my domains on a server with a dynamic IP. Is there a way to do this? I *believe* that I can host one subdomain by using a CNAME record and a dynamic DNS service.
[code]....
How can I host more than one subdomain on a server with a dynamic IP address?
View 2 Replies
View Related
Dec 12, 2010
When I first encountered this problem, I though it would be a simple solution, but i must just be missing something obvious.i have a few name based hosts configured in apache.when i go to "www.adomainname.com" i get the first website on this list, not "adomainname.com", as i would like. Does anyone have any ideas on how to fix this?here is the relevant part of my config files:
Code:
<VirtualHost *:80>
DocumentRoot "/var/www/httest"
[code]....
View 4 Replies
View Related
Apr 11, 2011
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?
View 8 Replies
View Related
Mar 17, 2010
I was told to create accounts from the GUI through K > Applications > System > User Manager or something like that, but the "user manager" icon is missing. Would it be possible to make new accounts through the terminal (bash, Konsole, whatever you want to call it)?
View 4 Replies
View Related
May 27, 2010
You know when you right click the screen and you can make a launcher with a custom command? Okay...how would I do that from the terminal?
View 6 Replies
View Related
Jul 28, 2011
I have working localhost on my Fedora 15. Directory tree look like this
Code:
/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar
[code]....
View 2 Replies
View Related
Feb 10, 2011
I work as webdeveloper and I and my co-workers have one rule - if we are done with any project, we comment them with underline at the end of the directory name. For example we have domain 'devel.domain.com' and our projects are located on projectname.devel.domain.com' . Commented project looks like thisAnd here is the problem. I can not acces subdomains ended with underline. It works last time in 9.10 (i think), but since 10.04 gives me the browser only SERVER NOT FOUND. We are using this comment-method for 7 years without problems. Why is this problem in last two editions of Ubuntu?note: there is no problem with accessing ended projects under windows or osx.
View 2 Replies
View Related
May 8, 2011
I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.
View 1 Replies
View Related
Jan 15, 2011
I'm looking for some information about termcap and terminfo... I've got some, but the problem is that some things confuse me... I thought every terminal and terminal emulator should be there, but many of the terminal emulators I use are not there.. Is this different between distributions?
View 14 Replies
View Related
Mar 19, 2010
I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.
View 3 Replies
View Related
Mar 30, 2010
Whilst playing around with my computer the other day i accidentally set the workspace feature to have 36 workspaces. This subsequently caused my computer to run very slowly and both panels and the bar at the top of the windows (with the close and minimise things) to dissapear. This means that i can no longer open programs easily (i have to open a folder from the desktop and then navigate to filesystem/usr/shared/aplications and then open them from there and only a few have full functionality. They also run very slowly. I have been looking for options to change it back but cannot. I have managed to use terminal to create a new working account although it is not an administrator account which i need it to be.
How to do one of the following:
A) Fix the first account (restore it to working order)
B) Make the new account an administrator in terminal (I have tried to using users and groups but it freezes)
C) Create a new administrator account in terminal
View 9 Replies
View Related
May 20, 2010
Can it be done? If so, how? As far as I know it doesn't work like mkfs.ext3 and all that.
View 2 Replies
View Related
Jul 7, 2010
I want to create a shortcut to run a program called RoomEqWizard but the only way I know how to run the program is to open a terminal and type the location to where the program is and call the program file. I already tried creating a shortcut on the main menu but I get a "error creating the child process for this terminal" message every time...
View 1 Replies
View Related
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.
View 2 Replies
View Related
Aug 26, 2011
I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.
Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.
View 3 Replies
View Related
Dec 14, 2010
I have a pretty powerful desktop running fedora and was wondering if I could use the new SPICE VDI technology to create a dummy terminal virtual desktop using just a 2nd monitor, keyboard, and mouse (no thin client). Is this possible using USB ports? Would I need a 2nd video card for the monitor?
View 1 Replies
View Related
Jun 11, 2011
I'd like to create a launcher for ParaView that requires a terminal shell in order to launch. It is just a pain having to enter the couple of lines to launch it from Konsole.
cd /home/user/Document/ParaView(version)/bin
./paraview
Lemme know what you think. I'd just like to add something to the quick launch panel.
View 1 Replies
View Related
Mar 17, 2011
I don't seem to be able to create a new folder in my system files. I know I have to do this in the terminal as root, but I always get the answer that it cannot create the directory because there is no such file or directory. Yet the directory where I want to make the new folder definitely exists (I even just go there and try to create the folder)Here is the exact code:Code:lukas@lukas-VGN-FZ21E:/proc/asound/card0/pcm0p$ sudo mkdir ossmkdir: cannot create directory `oss': No such file or directory
View 4 Replies
View Related
Dec 6, 2010
I am trying to create a script that creates a vector and displays it. I used the command inivec but it didn't work.
[code]...
How do I make it so the terminal executes mi script to create a vector. I know MV is the name and the output should be aa aa aa, but nothing?
View 3 Replies
View Related