How To Setup Domain Via SSH

Jun 5, 2007

i have dedicated server [ Debian/linux/ ], where isn't installed any control panel.

i'm using this server for my primary domain, but now decide to move to this server on of my domains too.

unfortunately, before this i "add domains" only via control panel, but as i know i can do it via SSH too (w/o any control panel).

can u give me any advice or give me url of tutorial with guide how to do it step by step.

i have experience of work via SSH, so knowing how to do, i'm sure i can do it myself.

View 1 Replies


ADVERTISEMENT

While Setup DNS For 1 Domain.de

Jan 28, 2008

One of our customers need to use a domain.de (.de ext), he registered the domain using godaddy, and godaddy have a few very special requirements for .de domains:

• The first 3 bits of the IP address (C-class) is different for each name server.
• A glue record is necessary for the domain on the name servers.
• The SOA (Start of Authority) must be within the following guidelines:

refresh : 10000 - 86400
retry: 1800 -28800
expire: 604800 - 3600000
ttl: 180 - 345600

This is all done, 2 different C class IPs for each name servers, glue record, and SOA has been configured between specified values. Because of the 2 C class, we created DNS at server1, and pointed all www traffic to server2 (where the domain.de will be hosted)

This is the DNS zone at server1 (an Ensim server):

$ORIGIN .
$TTL 3600 ; 1 hour
sitename.de IN SOA nameserver1.server.com. support@hostingcompany.com. (
2008010804 ; serial
10000 ; refresh (1 hour)
1800 ; retry (10 minutes)
604800 ; expire (2 weeks)
345600 ; minimum (1 hour)
)
NS nameserver1.server.com.
NS nameserver2.server2.com.
$TTL 86400 ; 1 day
A XX.XX.XX.XX
$ORIGIN sitename.de.
ftp A XX.XX.XX.XX
www A XX.XX.XX.XX

This is the DNS zone at server2 (an cPanel server):

; Modified by Web Host Manager
; Zone File for sitename.de
$TTL 3600
@ 86400 IN SOA nameserver2.server2.com. support@hostingcompany.com. (
2008010804
10000
1800
604800
345600
)

sitename.de. 86400 IN NS nameserver2.server2.com.
sitename.de. 86400 IN NS nameserver3.server2.com.

sitename.de. 14400 IN A XX.XX.XX.XX

localhost.sitename.de. 14400 IN A 127.0.0.1

sitename.de. 14400 IN MX 0 sitename.de.

mail 14400 IN CNAME sitename.de.
www 14400 IN A sitename.de.
ftp 14400 IN A XX.XX.XX.XX
While checking the domain at [url], an error appears:

Zone sitename.de.
Primary nameserver1.server.com. IP_ADDRESS_HERE
Secondary nameserver2.server2.com. IP_ADDRESS_HERE

Test results

---- fatal ----
f: [TEST SOA record present]: server failure (IN/SOA: sitename.de.)

* nameserver2.server.com./IP_ADDRESS_HERE

I have verified every single thing at sitename.de.db on both servers at /var/named/, disabled DNS Recursion protection, stopped firewall, and the error continues.

And the error as you can see only happens with SOA at second server.

View 1 Replies View Related

How To Setup Domain

Jun 5, 2007

i have dedicated server [ Debian/linux/ ], where isn't installed any control panel.

i'm using this server for my primary domain, but now decide to move to this server on of my domains too.

unfortunately, before this i "add domains" only via control panel, but as i know i can do it via SSH too (w/o any control panel).

can u give me any advice or give me url of tutorial with guide how to do it step by step.

i have experience of work via SSH, so knowing how to do, i'm sure i can do it myself.

View 1 Replies View Related

How To Setup DNS For 2 Servers With One Domain Name

Apr 8, 2008

I have 2 servers. How do I setup the DSN for these 2 servers with my domain? For example, I have domain "mydomain.com" and server1 and server2. I want
ns1.mydomain.com, ns2.mydomain.com --> server1
ns3.mydomain.com, ns4.mydomain.com --> server2

Both server installed cPanel/WHM.

View 3 Replies View Related

VPS Account With Multiple Domain Setup

Apr 11, 2008

I have a VPS account with WHM/Cpanel console access. I have three domains that I am trying to setup. Within WHM I have setup three different accounts, one for each domain. I am able to login to the cPanel for all three accounts. This also created a new web directory for each domain in /home/domain_name/public_html/. I have placed my default index.php in all three public_html with the same permissions. But only 1 domain is working the other two are not. What am I missing? I have confirmed that all three have the correct DNS servers with godaddy and I can do an nslookup on all three. My provider told me to share the IP so that is what I am configured as..

View 2 Replies View Related

How To Setup 2 Email Server For 1 Domain

Nov 9, 2007

if there is any tutorial to setup 2 email servers serving just 1 domain?

Currently, i have 1 dedicate email server running centos with DirectAdmin, it works just fine.

View 7 Replies View Related

EveryDns Setup Secondary Domain Name Server (DNS)

Jun 15, 2005

I have signup with everydns. I have read faq for secondary DNS but not understand.

View 1 Replies View Related

Domain Name Server (DNS) Cluster Setup In Cpanel

Jul 7, 2009

Hi there, i have few question for the best suited DNS Setup for our compagny.

We have tree server located in montreal.
Two are running web services, one of them is only for dns ( home server ).

Two main server have Whm/Cpanel.
One run Cpanel Dns only.

Main server have 7 ips each
Dns server, only have 1

Let say we use domain xxx.com
Right now we have ns1/ns2/ns3/ns4 point to server1
ns5/ns6/ns7 point to server2

We have no Nameserver that point to our dns only server for now.
I'd like to advoid runing DNS Service on all of them, maybe having two slave one master would be fine. Question: What would be the best suited dns setup with my current config for best responding time and fast replication?

View 0 Replies View Related

Nameservers In VPS - Domain In Godaddy - Backup - How To Setup?

Aug 2, 2009

I just got a VPS plan for the first time where I want to host several new websites. In the past I've used individual accounts to host a couple of other websites and haven't paid much attention to nameserver setup, just configured at my registrar whatever I was given from the hosting service.

So, I got a brand new domain to act as the host of the rest of the domains I'm setting up: www.example.com.

In the VPS I have setup this one as the default domain for nameservers: ns1.example.com
ns2.example.com

Question 1:
- Can I setup ns1.example.com and ns2.example.com as the nameserververs for www.example.com ? i.e. nameserver is used for the same domain in which it is named. Even if this is possible, is it a good idea or would it be better to host it somewhere else? When I try to define those as the nameservers in Godaddy I get the error message Nameserver not registered. What am I missing?

Other DNS questions
Question 2:
- If I host my nameservers in my VPS, I will need a separate IP for each one (ns1, ns2...and so on). Can I still use those IP's to actually host websites, or do I need additional IP's to host the actual sites? Any value in keeping each IP dedicated to a nameserver?

For example:
IP#1 = used for ns1
IP#2 = used for ns2
IP#1 = used for website 1
IP#2 = used for website 2


Question 3:
- Are DNS backup services valuable if I host my own nameservers? Any suggestions on good quality providers? Price not an issue.

Question 4:
- If I used DNS backup services for example.com will that apply to ns1.example.com and ns2.example.com which I used for my VPS? and therefore will be applicable to other domains I host? Does this make sense? Or would I need a separate backup for each domain I host? Can I use one backup for multiple domains?

Question 5:
- What are the drawbacks of hosting multiple sites under the same IP? I control all sites under these IPs

Question 6:
- Can somebody recommend a good resource to learn how IP, DNS, nameservers, etc work? Any book, paid website, video... anything ? While there's a ton of info on the web, all is scattered and none seems to be too detailed enough for somebody starting to learn about this.

View 5 Replies View Related

Google Apps Domain Email Setup

Oct 28, 2009

I would like some help on setting up google apps emails on a PLESK hosting on 1and1.com.

Here is my MX server setup, and doesn't seem too work. I set it up before but i didn't save it and now I forgot how to do it again.

where the error is?

View 3 Replies View Related

Setup MailEnable To Use External Mailserver For A Domain

Jul 9, 2009

SmarterMail 5.x is setup on one of our servers into Plesk 9.2. Just wondering how I configure a domain to use an external mailserver.

For example, the domain mydomain.org is running it's own extermal
mailservers;

mail.mydomain.org
mail2.mydomain.org

In MailEnable I would do the following;

- Start | Programs | Mailenable Administrator

- MailEnable | MailEnable Management | Messaging Manager | Post Offices

- Expand the mydomain.org domain

- Right-click the Domains folder and choose 'Properties"

- Select the 'domain is disabled' checkbox

- Select the 'Act as Smart Host'
checkbox

- In the 'Redirect mail to' textarea enter in the external
mailserver names;

mail.mydomain.org
mail2.mydomain.org

How can I configure SmarterMail to use the external mailservers of a domain?

View 0 Replies View Related

Setup Domain Key (DK) On DirectAdmin (DA) Control Panel

Oct 27, 2008

to setup domain key (DK) on DirectAdmin (DA) control panel. DirectAdmin used exim as mail server by default.

View 4 Replies View Related

Account Creation Status: Failed (that Domain Is Already Setup)

May 5, 2009

when i create an account from whm it gives me error as below

please tell how can fix this error ?

Error message

Quote:

we are unable to set up this domain name ahmd.co.nz & getting the following error please resolve this issue

Account Creation Status: failed (Sorry, that domain is already setup (remove it from httpd.conf))

View 9 Replies View Related

1 SSL Cert... 1 Domain... 2 Servers. How To Setup A Backup Server

Jan 13, 2009

We have two in-house servers, one is hosting our public web server. The other one was just purchased to host a mirror of the production server (as a backup). The site is protected by an SSL cert... my question is how do i set up the server(s) so if/when the backup server needs to be switched into produciton, the SSL cert will transition flawlessly?

They are both apache 2 servers.

View 2 Replies View Related

How To Setup A Redundant Server For A Domain Name To Reduce Downtimes

Oct 29, 2008

I have registered a domain using godaddy. I have hosted my site on a server of my shared hosting provider(lets call them X).Currently I have pointed mydomain.com to the server and it is up and running.Sometimes, I have experienced downtimes.

In order to solve this problem, I have hosted a clone of my site on another server from another hosting company(lets call them Y).

1. I want mydomain.com to point to Y when X is down

2. again point it to X when it is up.

My main aim is to have my site live with less downtime. The probability having both servers down is very less.

I dont know if it is technically feasible, just a thought out of dirty mind. I tried to google but was not able to find an answer specific to my problem.

Can anybody tell me how to achieve this through godaddy domain.

Added note, My site is not a commercial site and I cant afford large dedicated servers with clustering and failovers.

View 13 Replies View Related

Plesk 11.x / Linux :: 11.0.9 - Setup DKIM Default For Each Domain

Oct 3, 2013

Is it possible to know how can I setup the DKIM default for each domains without manually activate it each time?

View 6 Replies View Related

Apache :: Gateway Setup - Point To Different Webservers Depending On Domain Name

Jul 17, 2014

I am looking for setup a gateway (reverse proxy I guess?), specifically how to configure Apache to point to different webservers depending on domain name.

I currently have a single webserver running multiple virtual domains all accessible via a single external IP address.

I would like to break this into 2 servers each running multiple virtual domains accessible via gateway with a singe external IP address.

As an example, a single internet IP address points to port 80 on the gateway machine. The gateway machine will determine if its example1.com, example2.com, example3.com or example4.com. If its example1.com or example2.com it will direct internally to webserver1 and if its example3.com or example4.com it will direct internally to webserver2.

Webserver1 and webserver2 each host different websites via virtual hosts.

Is this possible and if so, what is the correct configuration of the gateway machine. I currently have installed apache2 with mod_proxy enabled, but I am struggling with configuring it properly.

View 1 Replies View Related

How To Setup Domain Name Server For Multiple Server?

Sep 16, 2006

I have 1 server so I setup dns as ns1.mydomain.com, ns2.mydomain.com ip address pointed to server1. So, now I just bought another server. Can I setup ns2.mydomain.com pointed to 2nd server. Also how to setup more servers ie. 10, 20 server because I can only set up to 6 dns in one domain name.

View 8 Replies View Related

Dedicated Or Reseller Setup With Virtualization Or Decent Chroot Setup

Jul 31, 2008

As my clients' needs expand, they're asking for chroot ssh/sftp setup. I'm currently on a dedicated Linux setup but don't really have the time to set up a whole new box with full virtualization or investigate a full chroot solution (baby on the way), and to be honest it would be less hassle to move to a new provider than worry about down time with sites.

What I'm looking for:

- linux hosting
- hosting for 30+ accounts, some with several domains
- at least 6 IP addresses for SSL certs
- each account in a full chroot environment (ssh/sftp/ftp) so they can't poke around each others' files, or each account set up in a virtual machine setup (ie: openvz)
- maildir
- spamassassin
- php 5, mysql, perl 5.8.8
- suexec apache would be nice

View 3 Replies View Related

DNS Setup And FTP Setup [LXAdmin/HyperVM]

Aug 1, 2008

I have learnt it is harder to setup than I initially expected (since I have just moved from a shared hosting service). I am in need of some help setting up my DNS servers, as I am very confused. Here is most of the info I know:

1) I am running HyperVM

2) I've installed LXAdmin

3) I own the domain (purchased from xeodomains.com) runemart.com

4) My VPS hostname is: vps.runemart.com

5) I know my IP

6) My host has said:

'For VPS customers that have a HyperVM login you can now host forward DNS on the DNS servers rdns1.vaserv.com (US)rdns2.vaserv.com (UK'

And I am unsure what this means/how to do it.

I am not sure if I need some more information to set up my DNS, however I am sure that I can get it if I do.

Now, my questions begin. Firstly, I need to point my domain - runemart.com - somewhere. I believe I need to set up my DNS via HyperVM or LXAdmin so that they are something like: ns1.runemart.com and ns2.runemart.com. Though, is this correct? Am I able to set up my own actual domain name servers, or will my domain have to point at something like rdns2.vaserv.com?

If anyone can assist me in this I would be very greatful, as I am waiting to get my website running. This is all I will ask for now, I will take it one step at a time =).

View 14 Replies View Related

Plesk 11.x / Linux :: Server Domain 302 Redirects To Hosted Domain - How To Undo

Nov 16, 2014

When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?

View 2 Replies View Related

Forward Mail From Parked Domain To Primary Domain - How? MX Record?

May 6, 2007

OK, I am confused. I have one domain that is parked on top of another domain. I would like Mail that comes to the parked domain to be automatically forwarded to the same user name at the primary domain.

Can I change a DNS or MX record to facilitate this?

View 1 Replies View Related

Domain Parking - Wildcard Domain Name Server (DNS)?

Nov 5, 2008

We have a lot of unused domains that we'd like to setup domain parking for.

To keep it simple, we'd like to just change the namesevers to ns1.domainparking.com and ns2.domainparking.com (not real nameservers!) and the domains would then automatically show a simple web page.

We use cpanel servers and are wondering how easy this is to do? I've seem mention of wildcard dns? Is that the answer?

View 2 Replies View Related

Domain Parking With Win2k3 Domain Name Server (DNS)?

Aug 3, 2007

i have about 8 different domains i'd like to point to a nameserver (ns1./ns2.mydomain.com) on Win2k3 server, but i can't get them resolved through my nameserver without creating a manual forward lookup entry for each *parked* domain separatly..

Does anyone know how to resolve "parked" domains automatically on Win2k3 DNS??

I just can't find any answer for this, everything i've found required manual creation of lookup entries..

anyone?

View 8 Replies View Related

Reverse Domain Name Server (DNS) ARPA For Domain On VPS

Jul 6, 2007

I have a vps with dedicated ip's for my domain names.

I read that in order for mails coming from my server not be picked up as spam, i need to add reverse ip entries.

Now i have already added the glue nameserver records on my godaddy control panel,

ns1.mydomain.com -> 10.20.30.40
ns2.mydomain.com -> 10.20.30.41

But do i need to speak to the datacenter to add the reverse dns entries for my domain on their nameservers? What about if i host my nameservers offsite, but then have my webserver/mailserver etc inside the datacenter? Would i need to request the datacenter where the nameservers are hosted to add the reverse ip entries for the domain, and then the request the same from the datacenter for my web/mail servers to add the reverse entries?

Is it really required?

View 2 Replies View Related

Domain Does Not Resolve :: Domain Name Server (DNS) Issues

Aug 14, 2008

I've been having some DNS problems with one of my domains for quite some time now. The domain does not always resolve - some go days without being able to access the site.

I ran a simple BASH script to show what I mean. I replaced my domain with "mysite.net" and the IP with "xx.xx.xxx.xxx".

# for i in `seq 1 15`; do host mysite.net; done

mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.

Has anyone experienced a similar problem? I have gone over the DNS records countless times and see no problems. The site is hosted on my own dedicated server.

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved