Bobcares

How we configure Webmin add domain – Related errors & fixes

by | May 18, 2019

Webmin is a web-based interface to manage websites or domains easily.

In Webmin, there is an advanced feature to quickly add the domain.

But, we often see some errors after adding domains due to the misconfiguration of DNS file, permission issues and much more.

At Bobcares, we often get requests from our customers to resolve the problems with “Webmin add domain” as part of our Server Management Services.

Today, we’ll see how our Support Engineers add a domain in Webmin and fix the related issues.

 

How we add a domain in Webmin

Adding domain is quite easy with the advanced feature in Webmin control panel.

Let’s take a closer look at how we add the domain in Webmin.

1. First, we log into Webmin panel with username & password.

2. Then, click on Servers > BIND DNS Server.

3. Under Existing DNS Zones, we click on Create master zone and enter the following fields:

– Zone type [ Forward ]
– Domain name / Network [ Enter Domain Name you want to add ]
– Records file [Automatic]
– Master server [your server’s host name]
– Email address [admin’s email address]
– IP Address for template records [Provide the host’s IP Address]

4. Next, we navigate to Edit Master Zone > Address Records & enter the following details.

– Name [www]
– Address [Server’s Ip Address]
– Time-To-Live [Default]
– Update reverse? [yes]

5. To create virtual host we navigate to Servers > Apache Webserver > Create virtual host & enter the details too:

– Port: 80
– Document Root: /var/www/html/mydomain
– Server Name: www.mydomain.com

6. Finally, we click Apply changes.

 

Related issues & fixes in Webmin add domain

Even after adding the domain properly, we often see errors in Webmin.

Let’s see the top 2 common errors and how our Support Engineers fixed it.

 

1. Incorrect entry in DNS file

Recently, one of our customers reported that after entering the DNS details & when he clicked Bind DNS server in Webmin, it resulted in an error like this.

"Failed to start BIND: Starting named: Error in named configuration: zone mydomain.com/IN: has no NS records zone mydomain.com/IN: not loaded due to errors. _default/mydomain.com/IN: bad zone [FAILED]"

This error happens due to the missing trailing character on the domain name.

So, to solve this error our Support Engineers took the following steps.

1. We logged in to Webmin control panel.

2. Then, we clicked on Servers > BIND DNS Server > Edit Master Zone.

3. In the zone file, we edited the domain name.

mydomain.com. IN NS ns1.mydomain.com.

4. Finally, we saved the file.

That fixed the problem and the user couldn’t get any error.

 

2. Permission issue

Likewise, another customer approached us with the problem after adding the domain in Webmin & when he tried to access the URL, it resulted in an error like this.

"You don't have permission to access / on this server."

This error happens when the user does not have permission to access the domain.

We solved this error by performing the following steps.

1. First, we opened the terminal.

2. Next, we run the command to grant permission to the corresponding user.

chmod 755 /home/your_virtual_server_username -Rvf

3. Finally, we restarted apache services to reflect the changes made.

systemctl restart apache

 

That’s how we fixed the problem. Now, the user could access the domain without any failure.

 

[Having trouble with Webmin add domain? We’ll fix it for you.]

 

Conclusion

To be more precise, for web developers, adding the domains in Webmin is quite easy. Today, we saw how our Support Engineers added a domain in Webmin and fixed the related issues.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF