• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

What is the difference between a domain name and a sub domain name..?

Dear all,

I'm looking for a web hotel on which I could register several web site URLs.

I wonder what is the difference between a domain name and a sub domain name.

Thanks

Stephane
0
stephaneeybert
Asked:
stephaneeybert
  • 5
  • 3
  • 2
1 Solution
 
SNilssonCommented:
your own domain might look like this:
http://www.mySite.com

And a sub domain might look like this:
http://www.mySite.com/MyOthersite/

The physical structure is as above.

When a correct setup is done you can reach your site 'MyOthersite' as usual like this:
http://www.MyOthersite.com
0
 
stephaneeybertAuthor Commented:
Okay. With the "correct" setup, I could register domain names to sub domain names or sub directories of my web host root directory...?
0
 
SNilssonCommented:
Yes, your web host will make the setup for you , it's nothing you need to do from your side, exept telling them about the domains you want to activate as 'sub domains'.
0
What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

 
stephaneeybertAuthor Commented:
Okay

Thanks!
0
 
stephaneeybertAuthor Commented:
By the way, do you know a good web hotel...?

Here is what I need :

I'm starting a business to offer websites for renting.

My customers will have a preinstalled website, with all their data in a database. They'll have a guestbook, a few pages and stuff...

For each customer I need :

- one sub directory on the file system (serves as the root dir of the site)
- one auto include directory directive
- one database
- one domain name
- several email ending with the domain name of the customer

And of course, as a business, I will charge for the service I am offering.


Cheers!
0
 
SNilssonCommented:
I only know about Swedish web hotels, and I also know that it might be hard to find a hotel that will alow second hand renting, but there might be one out there (I doubt they will give you any support for your customers thu).
0
 
ShineOnCommented:
Actually, a domain name is company.com.

Anything added to the left of company.com is a subdomain.

Examples:

www.company.com  - website subdomain
mail.company.com  - email server subdomain
support.company.com - support site subdomain
myhome.company.com - your personal homepage subdomain at company.com.
smtp.gateway.company.com - SMTP gateway subdomain.

Any of these could actually be referring (aliases) to locations within the www.company.com subdomain

Example: support.company.com could refer you to www.company.com/support/
0
 
stephaneeybertAuthor Commented:
Jatte bra forklaring! Tack sa mycket vannen!

Jag kan Svenska ocksa... litet bara, som fransman...

Tack!

Stephane

0
 
stephaneeybertAuthor Commented:
Jatte bra forklaring! Tack sa mycket vannen!

Jag kan Svenska ocksa... litet bara, som fransman...

Tack!

Stephane

0
 
ShineOnCommented:
Stephane -

Please post in English.  Most of us don't understand Swedish.  I know a bit of Spanish and Polish and am teaching myself Japanese, but I haven't gotten to Swedish yet... ;)

Thanx for the points.  Glad to help.
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now