directory-structure


how do I create the URL “m.mysite.com” from mysite.com?


I believe a subdirectory would be mysite.com/m/index.htm. I would like the "m" at the front so as to appear "m.mysite.com".
What do I call that type of directory?
I currently have a stylesheet for mobile and it just sits in my root directory and is used with a media query when someone with a small screen visits my site. The mobile optimized sheet uses the main index.htm page.
How would I change the folders in my directory to show "m.mysite.com" when someone is visiting from mobile?
It's not a directory at all. First you need to add a DNS entry for m.example.com, then you need to configure your web server software to serve requests to that host name from the directory you wish.
How you do that depends on your host, your web serving software and how easily you can reconfigure things. It's a bunch of combinations and you haven't given anywhere near enough detail for anyone to answer.

Related Links

can I place the js,css,images files under resources folder and place this resource folder under src/main/webapp folder?
VMS directory issue
SaltStack: Use directory as source only if it exists
Is it safe to clone a git repository into its own .git directory?
CAB Files MAKECAB.exe Way to store directory structure
how do I create the URL “m.mysite.com” from mysite.com?
URL structure for inner pages?
Ideal directory structure for web application
Development directory Structure [closed]

Categories

HOME
osgi
date
hp-exstream
yahoo-oauth
malloc
electronics
retrofit
azure-media-services
upload
reveal.js
kentor-authservices
opentracing
telephony
foselasticabundle
undefined
database-replication
connection-string
cloudhub
accessor
jndi
autosys
android-widget
h2db
apache-commons-io
kannel
neo4j-spatial
msys2
delicious-api
textmate
amazon-kinesis-kpl
picasso
appfabric
dartium
space-complexity
serverside-rendering
abstract-class
ws-security
preconditions
galen
ncalc
sql-server-agent
total-commander
convertapi
jedis
fancybox-2
composite-key
jspdf-autotable
dwscript
visual-c++-2008
static-ip-address
removechild
home-directory
thrust
etsy
django-debug-toolbar
pickadate
photobucket
thredds
marching-cubes
cannon.js
qdialog
tmuxinator
drawbitmap
tableau-online
interrupted-exception
truevault
lustre
codeigniter-url
winddk
javafx-webengine
issuu
document-classification
wp-query
expected-exception
dealloc
viadeo
prettify
sitemesh
rabl
django-nonrel
random-seed
kyotocabinet
cisco-jtapi
propertyeditor
libc++
winbugs14
celltable
imac
infrastructure
gin
modelstate
thunderbird-lightning
paul-graham

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile