S
S
Snatch082019-09-09 16:09:47
Denver
Snatch08, 2019-09-09 16:09:47

What about subdomains?

Good afternoon! Please explain how to deal with subdomains? I have a website on my local web server (Denwer). Its actual location is "C:\server\home\neo\www\index.html" in the browser, it opens with the request " neo ". There is a subdomain, actually located "C:\server\home\neo\m\index.html", it opens with the request " m.neo ". Why, if you put the "www" folder in the "m" folder and the site is already in it, then an error occurs on the request " m.neo ". "www" is a public directory, how can I make the subdomain public too. Why do you need the www folder then. I'm trying to make a mobile version of the site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2019-09-09
@Snatch08

Because your Apache is configured crookedly.
I don't know, does Denver itself create subdomains? If so, then you do not adhere to his ideology of creating a folder hierarchy, but decided to do it completely wrong, in your own way.

I
irishmann, 2019-09-09
@irishmann

Stop torturing the corpse, leave Denver. www used to be used in addresses, it has remained in Denver ever since.
upd. On topic, why not do a responsive design?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question