Point Domain name to a specific webpage
Point Domain name to a specific webpage
Hi
Is it possible to point a domain name to a specific web page ( not the home), e.g. the entry page of a folder ?
If yes, how to do it ?
Thanks in advance for your support
Kind Regards,
R.
Is it possible to point a domain name to a specific web page ( not the home), e.g. the entry page of a folder ?
If yes, how to do it ?
Thanks in advance for your support
Kind Regards,
R.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Point Domain name to a specific webpage
It's possible with a classic meta refresh in an index.html in that domain name.
http://en.wikipedia.org/wiki/Meta_refresh
http://en.wikipedia.org/wiki/Meta_refresh
Code: Select all
<meta http-equiv="refresh" content="0; url=http://www.example.com/index.php?page=alias_of_the_page">
Re: Point Domain name to a specific webpage
I'm not that the above solution answer my question.
I'm looking for :
I go to my broswer: type http://www.example.com
Then the user will see the following page Under http://www.example.com: http://www.actoris.eu/en/online-training.html
Is it possible to do this?
Kind Regards,
Rob
I'm looking for :
I go to my broswer: type http://www.example.com
Then the user will see the following page Under http://www.example.com: http://www.actoris.eu/en/online-training.html
Is it possible to do this?
Kind Regards,
Rob
Last edited by Jo Morg on Thu Jun 04, 2015 11:11 am, edited 1 time in total.
Reason: Please avoid auto-link of pseudo links by using "Do not automatically parse URLs" checkbox option. Thanks.
Reason: Please avoid auto-link of pseudo links by using "Do not automatically parse URLs" checkbox option. Thanks.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Point Domain name to a specific webpage
Of course! Just replace the URL in the example with the URL of your page.
Re: Point Domain name to a specific webpage
Sorry to ask again
Today my website is www.actoris.eu, associated to an IP address Annd the training pages are located.
I would like to point the new domain www.example.com to this IP address and then redirect directly the user to : http://www.actoris.eu/en/online-training.html
Is it possible ?
Sorry again for this question
Thanks in advance for your support.
R.
Today my website is www.actoris.eu, associated to an IP address Annd the training pages are located.
I would like to point the new domain www.example.com to this IP address and then redirect directly the user to : http://www.actoris.eu/en/online-training.html
Is it possible ?
Sorry again for this question

Thanks in advance for your support.
R.
Re: Point Domain name to a specific webpage
Unless you are not explaining well what you want, there is already a valid answer to your question on this thread.
P.S.: You can also use .htaccess rewrite rules for that.... google for how to do this as there are several ways....
P.S.: You can also use .htaccess rewrite rules for that.... google for how to do this as there are several ways....
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Point Domain name to a specific webpage
DNS is about connecting a domain name to an ip address. NOT to a specific page.
Like JoMorg said you could use rewrite_rules to rewrite request to that specific domain name to the specific page. However, I'm not sure if that would work out well; by default cmsms uses the used domain name as root_url unless you explicit set root_url variable in config.php. This could be important to realize for subsequent request via internal links, menu or even loading assets (like images, stylesheets etc). Do some thorough testing.
There's another technique that may be useful for your goal: http://en.wikipedia.org/wiki/URL_redire ... _redirects
Like JoMorg said you could use rewrite_rules to rewrite request to that specific domain name to the specific page. However, I'm not sure if that would work out well; by default cmsms uses the used domain name as root_url unless you explicit set root_url variable in config.php. This could be important to realize for subsequent request via internal links, menu or even loading assets (like images, stylesheets etc). Do some thorough testing.
There's another technique that may be useful for your goal: http://en.wikipedia.org/wiki/URL_redire ... _redirects
Re: Point Domain name to a specific webpage
With .htaccess you could use:
Code: Select all
# Redirect domain
RewriteCond %{HTTP_HOST} ^www\.website\.com$ [NC]
RewriteCond %{REQUEST_URI} ^/?$
RewriteRule ^ index.php?page=foo [QSA]
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Point Domain name to a specific webpage
I will to explain correctly this time 
I have a exisiting website ( usin CMS Made Simple). (actoris.eu)
This website has a section "online training" (http://www.actoris.eu/en/online-training.html)
I have another domain name www.example.com
I would like that when the user type www.example.com then they get and see the "online training" page.
Hope it is clear now.
Is it possible and how to do it ?
Kind Regards,
R

I have a exisiting website ( usin CMS Made Simple). (actoris.eu)
This website has a section "online training" (http://www.actoris.eu/en/online-training.html)
I have another domain name www.example.com
I would like that when the user type www.example.com then they get and see the "online training" page.
Hope it is clear now.
Is it possible and how to do it ?
Kind Regards,
R
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Point Domain name to a specific webpage
See my first reaction about meta refresh
Re: Point Domain name to a specific webpage
My domain registrar offers domain forwarding, so I would login to the example.com domain settings and set it up like that. Then example.com does not need a website to be set up.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Point Domain name to a specific webpage
Thank you ... the meta refresh (first answer) works 
