Questions tagged [domain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
46
votes
5answers
281k views

How to correctly set hostname and domain name?

I am renting a server, running Ubuntu 16.04 at a company, let's name it company.org. Currently, my server is configured like this: hostname: server737263 domain name: company.org Here's my FQDN: ...
26
votes
4answers
99k views

How to set the fully qualified hostname on CentOS 7.0?

How do I set the fully qualified hostname on CentOS 7.0? I have seen a few posts online for example using: $ sudo hostnamectl set-hostname nodename.domainname However, running domainname returns ...
20
votes
8answers
142k views

How to get the hostname along with the domain name?

In Unix (Solaris) is there any command that returns the hostname and domain name together? For instance: hostname -> servername domainname -> us.xyz.com I need : servername.us.xyz.com
15
votes
4answers
28k views

How to do domain filtering in Linux?

Preferably something similar to iptables. Basically, I want to do domain filtering/whitelisting/blacklisting like I would with IPs in iptables. Are there any recommendations on how to do this?
9
votes
3answers
37k views

How to configure for an Authenticating Proxy Server

My work proxy server requires authentication with the Microsoft AD domain user credentials. Everybody knows how it works: If you log in on a Windows workstation, your "Internet Explorer" browser based ...
8
votes
3answers
4k views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
8
votes
3answers
812 views

Future-proofing top-level domains for private networks

I recently installed some new servers on my home network to discover that systemd-resolved doesn't resolve hostnames without dots. This got me on a journey on the internet trying to find what is the ...
7
votes
4answers
26k views

Allow AD Groups to SUDO

I'm adding some Fedora 20 workstations to our Windows 2003 domain. I've successfully joined the domain with the boxes, and can login with domain accounts. Now I'm trying to allow the default AD group ...
7
votes
2answers
5k views

Correct domain name for a non-server desktop machine

I have some Debian desktop machines, and during installation I left the domain name field blank, because I don't host any websites and I do not have a static IP (whatsmyip.org gives a different IP ...
6
votes
2answers
831 views

Understanding hostnames

I was recently setting up an MTA on a VPS, and while configuring it I realized I’m quite confused about the concept and implementation of hostnames in Unix. I have a solid understanding of the DNS, ...
5
votes
2answers
4k views

Setting login shell in SSS configuration for users from Active Directory

I'm trying to define different login shells for different users of an AD domain, as described here. The aim is to deny members of a particular group from logging in while allowing them to do SSH ...
5
votes
2answers
658 views

Can a domain name in the dns search list have a trailing period?

A trailing dot represents that the domain is a Fully-Qualified Domain Name (FQDN). However, can a domain name in the dns search list be a FQDN? In other words, is this proper configuration? # /etc/...
4
votes
3answers
2k views

Linux-AD Integration

I currently have this domain with about 25 PCUS running with AD and Windows Server 2008 R2. We are currently thinking of adding some Linux PCUS instead of more Windows PCS because of financial reasons....
4
votes
2answers
2k views

wget - Mirroring a full website with requisites on different hosts

I am trying to make a full static copy of a Wordpress website with wget to be browsed without any network connection (all links and images must be converted). The different requisites for the pages (...
3
votes
3answers
1k views

Getting Linux computer integrated with Windows domain

I've tried to figure it out for several months, with no success. I have a Windows 2008R2 domain, and one Linux server (first it was Fedora 15, then 16, and now it's Centos 6.2). I am trying to make it ...
3
votes
1answer
6k views

Hosts file on server with dynamic DNS?

I am setting up a RHEL-based server that is associated with dynamic DNS from DynDNS, with a domain of, say, "abc.dyndns.org" that is dynamically updated with the server's IP address. I have read that ...
3
votes
3answers
967 views

How to see the actual nameservers of a domain instead of the "nsrecords"

A domain has nameservers and ns records. These should not, but can theoretically be different. There are multiple ways to see the ns records of a domain: dig: ➜ ~ dig +short NS stackoverflow.com ...
3
votes
2answers
832 views

How do I keep the .local TLD in my intranet

I use vagrant to launch VM's and bridge the network access to my local machine. Unfortunately exvery VM launch gives me a new IP address, and MAC address. I have a domain.local that I use and ...
3
votes
1answer
955 views

How to set up SSH on Ubuntu desktop and bind sub-domain to it for remote access outside network?

I am pretty to new to SSH and I have a question regarding access to my machine outside network. I have a Linux machine sitting in my apartment running almost all the time and connect to the network ...
3
votes
1answer
1k views

How to Specify Group Owner During Cron

I've done a fair amount of research but either I'm having trouble formulating the context to create relevant results or the information is hard to find. I have a production ubuntu 16.04 server ...
3
votes
1answer
14k views

How can I find the domain of a samba server?

How can I determine the domain of a remote samba server from the command line?
3
votes
2answers
215 views

Wrong site appears in Nginx

I have a Debian Linux server with nginx configured for several sites (/etc/nginx/sites-enabled), every site showing on its own domain. Now when I remove a site from /etc/nginx/sites-enabled, querying ...
3
votes
2answers
3k views

Failed to join domain: failed to set machine kerberos encryption types: Insufficient access

Has anyone gotten this error when trying to join CentOS 7 to Active Directory? I tried various ways(via cli, gui, tui) and always get same error. Failed to join domain: failed to set machine kerberos ...
3
votes
2answers
3k views

How do I make a registered domain name resolve to a local/private IP address

I have a Debian Linux server running on my local network. I also have port forwarding set up on my router so that computers outside my network can use my domain name and get to my website/FTP/SSH ...
3
votes
0answers
224 views

libvirt/debian: Restrict user/domain access

I'm using Debian 9, Stretch, and if I add a user to the libvirt group, that user has full access to libvirt. That's fine and dandy, but what if I want to restrict user access to certain domains? ...
3
votes
0answers
2k views

Samba4 member server smbclient fails with NT_STATUS_NO_LOGON_SERVERS

I am attempted to resolve a problem with a new CentOS 7 (samba 4) member server in my domain. It could join the domain (using realm command) but it is not responding to smb queries properly. I used ...
2
votes
2answers
1k views

dig returns different IP address when dropping the "www." from domain name

I have performed a dig on my domain name used on my site and I seem to be getting different results when I drop the "www." from the lookup. I am concerned this is causing me issues within my ...
2
votes
2answers
5k views

I use only dhcpcd and I want to make /etc/resolv.conf add search domain.local

I have a number of machines which do not use a network manager, and only use dhcpcd for setting the IP address. For example, my raspberry pi 4. I have statically assigned the IP address in the /etc/...
2
votes
2answers
52k views

Attempting to connect SSH to a machine using a domain

I am having trouble (only recently) logging into a machine at work. I have always entered my credentials like username@domain.local. But it doesn't seem to work anymore... I noticed that after ...
2
votes
2answers
353 views

Is it possible to run a private mailserver?

Last week my email provider (mout.web.de) got listed on spamcop. So I cannot send emails to recipients whose mailserver uses spamcop. An obvious solotion, which popped up in the forums, is to switch ...
2
votes
3answers
5k views

I changed my hostname, rebooted and lost internet connection

I set a new hostname on my machine using: sudo hostname NEWHOSTNAME Then I restarted, and tried accessing the internet and nothing happened. I checked the hostname and it was set to localhost....
2
votes
2answers
230 views

Why do I even need to set my hostname or my domain name?

I currently have a few cloud instances and each of them has it's own URL (such as example.com) that is pointed at it through my registrar. However, I am curious what, if any changes I should make to ...
2
votes
2answers
2k views

Resolving pseudo domain name to private IP

Assume I have a VM running on OSX with private IP 10.0.0.1 which can be accessed from the host machine. I was wondering how can I map a pseudo domain, *.app.dev, to the private IP on my host machine ...
2
votes
2answers
374 views

Can you change your DNS settings to ssh into an IP that has a port?

I'm running a server that is using a VPN with port forwarding. The IP is only accessible to the outside internet through the port '12345'. So when I want to connect to the server I have to access it ...
2
votes
2answers
382 views

pointing Linux DNS server from one sub domain to another subdomain

I have DNS server to my domain abc.com. Need to point my sub domain xx.abc.com to another subdomain xx.def.com. As it's hosted in xx.def.com, I will get any IP, so they will provide only subdomain ...
2
votes
1answer
422 views

How can I give a Linux FTP server a domain name?

I have a computer running Arch Linux headless with SSH server and proftpd server. It's for a personal use. But it's a bit annoying to run the IP address every-time to connect to it. Can I give it a ...
2
votes
1answer
2k views

Many domains using a single IP address with BIND 9.7

I'm in the middle of migrating and configuring a web server with two domains (with one more in the future), and no sub-domains so far, but using a single IP address (for now). This type of ...
2
votes
2answers
7k views

Binding domain name to Apache Virtual host on VPS

recently company I work for has rented VPS. Now i need to have multiple websites hosted on this VPS, that is not a problem, I'v set up virtual hosts, databses, etc. Now i wanted to test it, see if I ...
2
votes
1answer
41 views

Debian 10 apache2 virtual hosts for subdomain

I have Debian 10 and apache2 and in virtual hosts configuration for subdomain. Configuration for main domain: <VirtualHost *:80> ServerName system.com ServerAlias system.com ...
2
votes
1answer
3k views

How can I run a Systemd service under an Active Directory account?

I'm running a NAS under Ubuntu 17.10 and I have changed the Samba configuration so that it now runs as a domain controller. The next step I'm trying to do is to modify some Systemd services on the ...
2
votes
1answer
248 views

After joining with AD user, changing [User@domain@host] to [user@host]

My CentOS machine joined a domain with an AD so that I can log in with ssh with the credentials from the AD. Everything works fine, but now the username looks quite ugly with user@domain@host in it. ...
2
votes
1answer
3k views

wget mirror site + resources from other domain

I'm trying to download a website so it can be browsed offline, so I want the html, images, css, javascript, etc. The problem is that the images are not all hosted on the same domain as the website, ...
2
votes
2answers
11k views

How to configure EXIM4 to relay emails?

I have a Debian Jessie (Version 8.1) server that serves multiple domain names. Each has their own folder configured under /var/www/. Each domain name has a unique conf (example.com.conf) file under /...
2
votes
1answer
1k views

CentOS machine keeps "losing" active directory membership

All of our CentOS 6 machines have been joined to our active directory domain. Each of these machines eventually "loses" their domain membership, which breaks authentication for AD users. I created a ...
2
votes
2answers
463 views

Rebuilding sendmail on FreeBSD application server after adding new activedirectory domain controller to network

In the process of adding a new ActiveDirectory domain controller to our network, we decided to rename the domain from "domain.local" to "domain.priv." I scoured all parts of our application server for ...
2
votes
2answers
1k views

BIND as a DNS server host command is refused

I am attempting to run my host machine as a DNS server, it will also function as the gateway. My /etc/named.conf is as follows: options { directory "/var/named/"; allow-query {127.0.0.1;...
2
votes
0answers
231 views

H2O Webserver - Multiple domains - Is possible ? Or current version is only for one domain?

I'm testing h2o server : (some urls ) https://github.com/h2o/h2o/wiki https://calomel.org/h2o.html All works fine with only one domain but when I try to load multiple domains I can't load ...
2
votes
1answer
751 views

point domain to my VPS CentOS7; Do I need DNS on my server? [closed]

I actually know how to configure my vps Virtual Host /etc/httpd/conf.d/vhost.conf but my question is, do I have to setup any sort of DNS on my VPS? Which way is the easiest way to point my domain to ...
2
votes
0answers
363 views

how to block ip addresses using the whois command

I am trying to block public ip addresses/ranges of specific organizations in my firewall. To accomplish the purpose, I need to find out the actual list of netblocks/IP addresses they own. For ...
2
votes
0answers
443 views

Multiple domains with one public IP?

Hosting multiple domains on seperate servers but only one public IP address with ProxmoxVE... How can I do this with an easy and quick solution? The individual servers behind the router should be ...