Jump to content

superglidecory

Members
  • Posts

    4
  • Joined

  • Last visited

superglidecory's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Ok, so I found a solution. Edit the hosts file on your OS and put the LAN address with your domain name. In Ubuntu, the hosts file is located at /ect/hosts. On Windows 10, its C:\Windows\System32\Drivers\etc\hosts. Add your to it as needed. Example: 192.168.254.254 blahblah.com
  2. My router provided by my ISP is not compatible with NAT loopback. I cannot access my self-hosted site from within my own home network. I can access my website from a proxy or from outside the network, but not on my own wifi. There are dozens of Google results for NAT loopback (I've seen them all), so I won't elaborate further on what it is. My question is how do I solve this problem? I want to somehow configure a raspberry pi to serve as a DNS server, but how would I do this? I know I cam not the only one with this problem because I've seen countless other posts in numerous other forums about this matter, and no solution has worked yet.
  3. I was kinda afraid of that, and so far that's what I've been doing. I wanted something easier than to do something like that, but it does work and its so far the best way of doing things for now. I'm still looking into ways of isolating .php files used by include from .css stylesheets.
  4. I have a .php homepage (called index.php). I have a style sheet linked in it like this: <head> <link rel="stylesheet" href="styles.css"> </head> On my homepage, I have another .php file that is included with: <?php include 'menu.php';?> menu.php is being styled by styles.css, and this is something I do not want. Granted, I can change the name of styles.css or maybe make more specific classes and id's, but is there another way to tell php to not be styled by a .css stylesheet?
×
×
  • Create New...