Jump to content

Using Sub Domains


Rob Pearson

Recommended Posts

Hello guys

We are looking to use a sub domain on our website which incorporate the pages feature and i was wondering how i do this?

For example we use the domain www.mydomain.com which is our core website

then i want to use www.dev.mydomain as a page on our website incorporating the IPS suite.

Currently the page system by default will assign its own extention to the domain of the website. Is there anyway to avoid that and do the url manually.

 

I hope this makes sense and is clear. Hopefully someone knows the answer :D

 

Thanks

Link to comment
Share on other sites

1. Create folder 'dev' in your root directory

2. Upload and install ips suite in dev directory

3. Create sub domain in your cPanel  dev.mydomain -> /publc_html/dev

4. Add in htaccess file in root directory

<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} ^/dev/?$
RewriteRule ^(.*) http://www.mydomain.com/other/ [R=301,L]
</IfModule>

Here's 'other' is folder of your site that link 'mydomain.com/dev' that you want loaded

dev.mydomain.com ->loaded  ips suite

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...