Htaccess is not working

Site is accessible http://www.islampadasala.com/index.php

But its not accessible while taking http://www.islampadasala.com/

Htaccess is not working we had already enabled the mod_rewrite also but its not working please help,

Thanks

8 Replies

It seems to be working now. I get your site using both links.

Yes i have fixed it . Another issue is that i want to get the website by using http://www.islampadasala.com and http://islampadasala.com.But this is http://islampadasala.com not working please support

Do you have 'www' as a subdomain in your DNS settings? Well, actually, you would also need 'www' as a ServerAlias in Apache/NGINX as well (otherwise the web server won't know what to do with it).

Thanks,

Dave.

Thanks for your kind support ,

Can you please tell the exact steps that we need to follow to set the sub domain settings in linode

You don't have the DNS entry defining 'www'.

  • log into your Linode account.

  • click on the 'DNS Manager' tab.

  • scroll down to 'A/AAAA Records' section.

  • click 'Add a new A record'

  • enter 'www' as the Hostname (without quotes).

  • enter your IP address in the 'Ip Address' field.

  • click 'Save Changes'.

Depending on your location, the DNS servers your ISP uses, etc it can take 15 minutes to a few hours before your 'www' subdomain is available.

BTW, your DNS entries don't appear to have any IP address listed at the moment … which would explain why your site is not available.

Just as a bit more information to what MSJ put:

https://www.linode.com/docs/networking/ … ns-records">https://www.linode.com/docs/networking/dns/adding-dns-records

That guide will help you with how to make the DNS record if you don't actually have the master entry set up for your domain. It will also help you with adding the records in our DNS Manager.

If you don't use our DNS manager, you'll need to configure this in the DNS Manager you use.

Thanks,

Dave.

Hi,

i have set my domain as http://islampadasala.com

added address records as WWW

and in my conf file data is

ServerAdmin webmaster@islampadasala.com

ServerName islampadasala.com

ServerAlias www.islampadasala.com

DocumentRoot /var/www/islampadasala.com/public_html/

ErrorLog /var/www/islampadasala.com/logs/error.log

CustomLog /var/www/islampadasala.com/logs/access.log combined

Now the site is not working if any thing wrong please correct and help beacuse the site is down now

Looks like it's working from both 'www' and non-'www' here. Could be taking a little while for the DNS records to update.

Thanks,

Dave.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct