25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Quick methods to create Webmin subdomain and fixes for related errors

by | May 16, 2019

Webmin is a web-based administration tool for Unix systems.

Also, it provides a feature to create subdomain very quickly.

But, errors such as “Unable to determine IP address from host name xxxx.domain.com” may occur due to the improper settings in the Apache configuration file.

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

Today, we’ll see how our Support Engineers solved the errors related to “Webmin Subdomain”.

 

How we created Subdomain with Webmin

Unlike cPanel, in Virtualmin/Webmin, there is no direct option for creating subdomains.

In addition, subdomain has its document root inside the parent’s domain document root, as in cPanel. So it’s tricky to create subdomains in Webmin.

For example, the document root of subdomain is  “/home/username/public_html/foldername”.

Let’s see how our Support Engineers set up a subdomain in Webmin.

 

Steps To Create Sub Domain in Webmin

1. Firstly, we log into Webmin control panel.

2. Then go to Servers > Apache Webserver.

3. From that page, we select “create new virtual host”.

Also, we fill the following field too.

  1. Handle connections to address: We select the specific address and IP address of the subdomain in the text field.
  2. Document Root: We enter the path of sub-domain,

4. At last, we click on the “Create Now” button.

Now, the subdomain successfully created in Webmin.

Note: once we have created the Webmin subdomain, a proper DNS record must be added to the corresponding subdomain. Otherwise, errors will appear on the website.

However, you may get errors like “Unable to determine IP address from host name xxxx.domain.com” after creating subdomain due to improper settings in the configuration file.

 

How we fixed Webmin subdomain-related errors

Let’s see how our Support Engineers fixed subdomain-related errors in Webmin.

 

1. Missing DNS records

Recently, one of our customers came up with a website issue. His subdomain was not working and showed an error as “Unable to determine IP address from host name test.domain.com”.

Then our Support Engineers took the following steps to solve the issue.

1. First, we used the “dig” command to verify that the subdomain name is resolved to the correct IP address.

2. Then we found that the subdomain didn’t have an “A record”.

3. So, we added the “A record” via Webmin. We go to Servers > BIND DNS Server.

4. Next, we selected the zone of the parent domain and clicked on “Add Record To Selected” button.

Also, we added the following fields too.

  1. In new Record Name field, we entered the subdomain name.
  2. In new record field, we entered the IP address.

5. Finally, we clicked on the Add Record button.

That’s fixed the problem.

 

2. Wrong settings in the Apache configuration file

Similarly, another customer had an issue with subdomain creation. He failed to create subdomain through Webmin.

So, our Support Engineers analyzed the error log in Apache server and found a misconfiguration in httpd.conf.

Furthermore, we checked the configuration file and made corrections in /etc/httpd/conf/httpd.conf file.

We corrected the ServerName and ServerAlias and restarted Apache to apply the configuration changes.

ServerName www.subdomain.xxxx.com
ServerAlias subdomain.xxxx.com

This is how we fixed the problem.

 

[Getting errors while creating subdomains in Webmin? We’ll fix it for you.]

 

Conclusion

In short, customers may fail to create Webmin subdomain due to improper settings in the Apache configuration file or because of missing DNS record. Today, we saw how our Support Engineers configured subdomain in Webmin and fixed Webmin subdomain-related errors.

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 *

Categories

Tags

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

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

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