We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Domain.names.com

Just a quick query, I've not used them before but I would like to setup a site using double barrelled domain names eg:

hosting.infoprovider.co.uk

I think this would look better than

infoprovider.co.uk/hosting/

I can't find any info on this, anyone know anything or suggest somewhere to look?

Thanks

-Web.
Sense is not common.

Comments

  • nickmack
    nickmack Posts: 4,435 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    What you need is to set up a subdomain.

    Firstly you need to purchase the parent domain, then in the control panel for the domain control you need to setup a subdomain. There may be an option, otherwise you should ask the support on how to do it with your particular interface.
  • amosworks
    amosworks Posts: 1,831 Forumite
    Sometimes your "double-barrell" domain is referred to as a subdomain or zone. You may get options in your control panel to edit your zone files or edit your DNS server.

    Basically you need to create a new CNAME record that maps to your primary domain. You may have something like:

    infoprovider.co.uk A 1.2.3.4
    www. A 1.2.3.4
    mail. CNAME www
    ftp. CNAME www

    Simply add your new one in:

    hosting. CNAME www

    Then you will need to restart your DNS server. Of course, you will need to configure your webserver to use the new subdomain. Assuming you're running Apache, edit your httpd.conf file and add something like:

    <VirtualHost *>
    ServerName hosting.infoprovider.co.uk
    DocumentRoot /www/infoprovider/hosting
    DirectoryIndex index.html
    </VirtualHost>

    That should be it, restart web server and you should be good to go :)

    HTH
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.